diff options
Diffstat (limited to 'examples/variant-11.yy')
-rw-r--r-- | examples/variant-11.yy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/variant-11.yy b/examples/variant-11.yy index a9454a1e..d378f300 100644 --- a/examples/variant-11.yy +++ b/examples/variant-11.yy @@ -66,7 +66,7 @@ make_string_uptr (Args&&... args) { // std::make_unique is C++14. - return std::unique_ptr<std::string>(new std::string{std::forward<Args>(args)...}); + return string_uptr (new std::string{std::forward<Args> (args)...}); } // Convert to string. |