diff options
Diffstat (limited to 'src/test/objectstore')
-rw-r--r-- | src/test/objectstore/BitAllocator_test.cc | 2 | ||||
-rw-r--r-- | src/test/objectstore/store_test_fixture.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/objectstore/BitAllocator_test.cc b/src/test/objectstore/BitAllocator_test.cc index caaa2e9a8b8..865309cfc6a 100644 --- a/src/test/objectstore/BitAllocator_test.cc +++ b/src/test/objectstore/BitAllocator_test.cc @@ -34,7 +34,7 @@ TEST(BitAllocator, test_bmap_iter) BmapEntityTmp() { } - BmapEntityTmp(int num) { + explicit BmapEntityTmp(int num) { m_num = num; m_len = num; } diff --git a/src/test/objectstore/store_test_fixture.h b/src/test/objectstore/store_test_fixture.h index 5788651f399..02b1235cbc3 100644 --- a/src/test/objectstore/store_test_fixture.h +++ b/src/test/objectstore/store_test_fixture.h @@ -17,7 +17,7 @@ public: boost::scoped_ptr<ObjectStore> store; ObjectStore::CollectionHandle ch; - StoreTestFixture(const std::string& type) + explicit StoreTestFixture(const std::string& type) : type(type), data_dir(type + ".test_temp_dir") {} |