🏗️ adding anonymous namespace

This commit is contained in:
Niels Lohmann
2019-04-04 08:56:36 +02:00
parent 0da99027b7
commit f05614b240
16 changed files with 51 additions and 8 deletions

View File

@@ -33,6 +33,8 @@ SOFTWARE.
using nlohmann::json;
namespace
{
enum test
{
};
@@ -59,6 +61,7 @@ static_assert(noexcept(json(pod{})), "");
static_assert(noexcept(j.get<pod>()), "");
static_assert(not noexcept(j.get<pod_bis>()), "");
static_assert(noexcept(json(pod{})), "");
}
TEST_CASE("runtime checks")
{