From d0963a7cf6aec0b511b581876c4a5c5e4b4799e7 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Sat, 21 Dec 2019 14:27:14 -0800 Subject: [PATCH 1/2] Added missing #include in cloning_test.cpp --- .gitignore | 1 + test/cloning_test.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 342f845..99363e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /.vscode/ipch/* +/.vscode/settings.json diff --git a/test/cloning_test.cpp b/test/cloning_test.cpp index 138a38c..154751b 100644 --- a/test/cloning_test.cpp +++ b/test/cloning_test.cpp @@ -9,6 +9,7 @@ #include #include #include +#include typedef boost::error_info my_info; From 87f0473396b2bf5084fe50bd32c19b1122e997a6 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Sat, 21 Dec 2019 19:14:44 -0800 Subject: [PATCH 2/2] Fixed link error in no_exceptions_test.cpp --- test/no_exceptions_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/no_exceptions_test.cpp b/test/no_exceptions_test.cpp index 2e8665a..1e85736 100644 --- a/test/no_exceptions_test.cpp +++ b/test/no_exceptions_test.cpp @@ -41,6 +41,11 @@ boost #endif exit(boost::report_errors()); } + void + throw_exception(std::exception const & x, boost::source_location const &) + { + throw_exception(x); + } } int