Mercurial > hg > orthanc
diff Plugins/Samples/DatabasePlugin/Database.cpp @ 1847:559956d5ceb2
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Nov 2015 15:34:14 +0100 |
parents | f4286d99ee0a |
children | b1291df2f780 |
line wrap: on
line diff
--- a/Plugins/Samples/DatabasePlugin/Database.cpp Mon Nov 30 14:51:43 2015 +0100 +++ b/Plugins/Samples/DatabasePlugin/Database.cpp Mon Nov 30 15:34:14 2015 +0100 @@ -123,7 +123,8 @@ public: SignalRemainingAncestor() : - hasRemainingAncestor_(false) + hasRemainingAncestor_(false), + remainingType_(OrthancPluginResourceType_Instance) // Some dummy value { } @@ -175,7 +176,8 @@ Database::Database(const std::string& path) : path_(path), - base_(db_) + base_(db_), + signalRemainingAncestor_(NULL) { } @@ -381,7 +383,7 @@ const std::list<I>& source) { for (typename std::list<I>::const_iterator - it = source.begin(); it != source.end(); it++) + it = source.begin(); it != source.end(); ++it) { target.push_back(*it); }