diff --git a/modules/ripple_basics/containers/ripple_KeyCache.h b/modules/ripple_basics/containers/ripple_KeyCache.h index a86dd64546..3b6876d5de 100644 --- a/modules/ripple_basics/containers/ripple_KeyCache.h +++ b/modules/ripple_basics/containers/ripple_KeyCache.h @@ -10,7 +10,7 @@ older than the maximum age they are eligible for removal during a call to @ref sweep. - @note + @note Timer must provide this function: @code static int getElapsedSeconds (); @@ -107,7 +107,7 @@ public: @return `false` if the key was not found. */ bool del(const key_type& key) - { + { boost::mutex::scoped_lock sl(mNCLock); map_iterator it = mCache.find(key); diff --git a/src/cpp/database/SqliteDatabase.h b/src/cpp/database/SqliteDatabase.h index 4e2ab24a4c..fb8305fcc4 100644 --- a/src/cpp/database/SqliteDatabase.h +++ b/src/cpp/database/SqliteDatabase.h @@ -119,4 +119,3 @@ public: #endif // vim:ts=4 -