From e63e84a2d53c34b1c05da1f993fdde10e11b0fdc Mon Sep 17 00:00:00 2001 From: markummitchell Date: Tue, 5 Mar 2019 22:05:49 -0800 Subject: [PATCH] Clang is more picky about noexcept specification --- dev/osx/build_installable_package | 2 +- src/log4cpp_null/include/log4cpp/Category.hh | 2 +- src/log4cpp_null/src/Category.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/osx/build_installable_package b/dev/osx/build_installable_package index 1b066cb1..2d409883 100755 --- a/dev/osx/build_installable_package +++ b/dev/osx/build_installable_package @@ -62,7 +62,7 @@ if [ ! -f /usr/lib/liblog4cpp.1.dylib ]; then fi # Make into Engauge Digitizer.app -qmake engauge.pro +qmake engauge.pro CONFIG+=log4cpp_null make clean make diff --git a/src/log4cpp_null/include/log4cpp/Category.hh b/src/log4cpp_null/include/log4cpp/Category.hh index 084cf0c5..42bc8f9e 100644 --- a/src/log4cpp_null/include/log4cpp/Category.hh +++ b/src/log4cpp_null/include/log4cpp/Category.hh @@ -14,7 +14,7 @@ namespace log4cpp class Category { public: - Category(); + Category() noexcept; virtual ~Category(); /// Noop method to add an Appender diff --git a/src/log4cpp_null/src/Category.cpp b/src/log4cpp_null/src/Category.cpp index dacfb3a3..f0218c6d 100644 --- a/src/log4cpp_null/src/Category.cpp +++ b/src/log4cpp_null/src/Category.cpp @@ -4,7 +4,7 @@ namespace log4cpp { Category *Category::m_category = 0; - Category::Category() + Category::Category() noexcept { }