Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2010
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. Index: akonadi/server/src/storage/transaction.h
  2. ===================================================================
  3. --- akonadi/server/src/storage/transaction.h (revision 1106878)
  4. +++ akonadi/server/src/storage/transaction.h (working copy)
  5. @@ -43,7 +43,7 @@
  6. the lifetime of a Transaction object.
  7. @param beginTransaction if false, the transaction won't be started, until begin is eplicitely called. The default is to begin the transaction right away.
  8. */
  9. - Transaction( DataStore *db, bool beginTransaction = true);
  10. + explicit Transaction( DataStore *db, bool beginTransaction = true);
  11.  
  12. /**
  13. Rolls back the transaction if it hasn't been committed explicitly.
  14. Index: akonadi/server/src/search/result.h
  15. ===================================================================
  16. --- akonadi/server/src/search/result.h (revision 1106878)
  17. +++ akonadi/server/src/search/result.h (working copy)
  18. @@ -41,7 +41,7 @@
  19. public:
  20. Result();
  21. Result( const QUrl& uri, double score = 0.0 );
  22. - Result( const Result& );
  23. + explicit Result( const Result& );
  24. ~Result();
  25.  
  26. Result& operator=( const Result& );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement