~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/transaction_log.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-14 17:13:26 UTC
  • mto: This revision was merged to the branch mainline in revision 2407.
  • Revision ID: olafvdspek@gmail.com-20110814171326-e6nnh3q5cp3o0tk3
Remove unnecessary constructors and destructors

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
#include <vector>
46
46
#include <string>
47
47
 
48
 
class TransactionLog
 
48
class TransactionLog : boost::noncopyable
49
49
{
50
50
public:
51
51
  typedef std::vector<TransactionLogEntry> Entries;
178
178
                                              sizeof(uint32_t) + /* 4-byte length header */
179
179
                                              sizeof(uint32_t); /* 4 byte checksum trailer */
180
180
 
181
 
  /* Don't allows these */
182
 
  TransactionLog();
183
 
  TransactionLog(const TransactionLog &other);
184
 
  TransactionLog &operator=(const TransactionLog &other);
185
181
  /**
186
182
   * Clears the current error message
187
183
   */