aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e20d00d1..25f74e64 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -815,7 +815,7 @@ CHECK_CXX_SOURCE_COMPILES(
#include <memory>
struct A { int foo; };
int main() {
- std::shared_ptr <A> a = std::make_shared <A>(a);
+ std::shared_ptr <A> a = std::make_shared <A>();
return 0;
}
"