diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
| commit | 07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch) | |
| tree | 2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /test/OptionTest.cc | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'test/OptionTest.cc')
| -rw-r--r-- | test/OptionTest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OptionTest.cc b/test/OptionTest.cc index f33a4a6f..f7ce58f2 100644 --- a/test/OptionTest.cc +++ b/test/OptionTest.cc @@ -98,7 +98,7 @@ void OptionTest::testMerge() void OptionTest::testParent() { Option child; - SharedHandle<Option> parent(new Option()); + std::shared_ptr<Option> parent(new Option()); parent->put(PREF_TIMEOUT, "100"); child.put(PREF_DIR, "foo"); CPPUNIT_ASSERT(!child.defined(PREF_TIMEOUT)); |
