summaryrefslogtreecommitdiff
path: root/libadhocutil/unittests/testOptionals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libadhocutil/unittests/testOptionals.cpp')
-rw-r--r--libadhocutil/unittests/testOptionals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libadhocutil/unittests/testOptionals.cpp b/libadhocutil/unittests/testOptionals.cpp
index 90e247b..f6dc371 100644
--- a/libadhocutil/unittests/testOptionals.cpp
+++ b/libadhocutil/unittests/testOptionals.cpp
@@ -15,7 +15,7 @@ BOOST_AUTO_TEST_CASE ( general )
Ice::optional<float> ix;
Ice::optional<short> iy = 4;
std::string * p = nullptr;
- std::string * q = new std::string("str");
+ auto * q = new std::string("str");
std::optional<std::string> r;
Ice::optional<std::string> s;