From 4ed53c148454f1e5c214650a945d242dd961dd7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Fri, 28 Oct 2016 20:24:57 +0200 Subject: [PATCH] fixed a bug in manualtest.cpp, where a method was defined instead of default ctor --- manualtest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manualtest.cpp b/manualtest.cpp index 605d543..535d8bb 100644 --- a/manualtest.cpp +++ b/manualtest.cpp @@ -12,7 +12,7 @@ int main() { if (std::is_default_constructible::value) std::cout << "class String is default constructible" << std::endl; - String defaultctor(); + String defaultctor; if (std::is_constructible::value) std::cout << "class String is constructible from const char*" << std::endl; @@ -127,4 +127,4 @@ int main() return EXIT_SUCCESS; -} \ No newline at end of file +}