🔨 cleanup + some noexcept

This commit is contained in:
Niels Lohmann 2018-01-16 20:41:04 +01:00
parent b182308eff
commit afe4571309
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
4 changed files with 28 additions and 35 deletions

View file

@ -1,7 +1,5 @@
#pragma once
#include <ciso646> // not
// This file contains all internal macro definitions
// You MUST include macro_unscope.hpp at the end of json.hpp to undef all of them
@ -38,7 +36,7 @@
#endif
// allow to disable exceptions
#if (defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)) && not defined(JSON_NOEXCEPTION)
#if (defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)) && !defined(JSON_NOEXCEPTION)
#define JSON_THROW(exception) throw exception
#define JSON_TRY try
#define JSON_CATCH(exception) catch(exception)