diff --git a/CMakeLists.txt b/CMakeLists.txt index 3463cd16..cc660c24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,8 +3,6 @@ cmake_minimum_required(VERSION 3.0) # define the project project(nlohmann_json VERSION 2.1.1 LANGUAGES CXX) -enable_testing() - option(JSON_BuildTests "Build the unit tests" ON) # define project variables @@ -26,6 +24,7 @@ target_include_directories(${JSON_TARGET_NAME} INTERFACE # create and configure the unit test target if(JSON_BuildTests) + enable_testing() add_subdirectory(test) endif() diff --git a/doc/images/scanner.png b/doc/images/scanner.png deleted file mode 100644 index 9c39ef0a..00000000 Binary files a/doc/images/scanner.png and /dev/null differ diff --git a/src/json.hpp b/src/json.hpp index 20c2f618..307fddb3 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -119,36 +119,35 @@ template struct adl_serializer; // forward declaration of basic_json (required to split the class) -template