File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 13
13
#endif // if !defined(JSON_IS_AMALGAMATION)
14
14
15
15
#if JSON_USE_EXCEPTION
16
+ # include < stdexcept>
16
17
#define JSON_ASSERT ( condition ) assert( condition ); // @todo <= change this into an exception throw
17
18
#define JSON_FAIL_MESSAGE ( message ) throw std::runtime_error ( message );
18
19
#else // JSON_USE_EXCEPTION
Original file line number Diff line number Diff line change 1
- // DO NOT EDIT. This file is generated by CMake from "version"
2
- // and "version.h.in" files.
3
- // Run CMake configure step to update it.
4
- #ifndef JSON_VERSION_H_INCLUDED
5
- # define JSON_VERSION_H_INCLUDED
6
-
7
- # define JSONCPP_VERSION_STRING "0.6.0-dev"
8
- # define JSONCPP_VERSION_MAJOR 0
9
- # define JSONCPP_VERSION_MINOR 6
10
- # define JSONCPP_VERSION_PATCH 0
11
- # define JSONCPP_VERSION_QUALIFIER -dev
12
- # define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8))
13
-
14
- #endif // JSON_VERSION_H_INCLUDED
1
+ // DO NOT EDIT. This file is generated by CMake from "version"
2
+ // and "version.h.in" files.
3
+ // Run CMake configure step to update it.
4
+ #ifndef JSON_VERSION_H_INCLUDED
5
+ # define JSON_VERSION_H_INCLUDED
6
+
7
+ # define JSONCPP_VERSION_STRING "0.6.0-dev"
8
+ # define JSONCPP_VERSION_MAJOR 0
9
+ # define JSONCPP_VERSION_MINOR 6
10
+ # define JSONCPP_VERSION_PATCH 0
11
+ # define JSONCPP_VERSION_QUALIFIER -dev
12
+ # define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8))
13
+
14
+ #endif // JSON_VERSION_H_INCLUDED
Original file line number Diff line number Diff line change 14
14
#include < cassert>
15
15
#include < cstring>
16
16
#include < istream>
17
- #include < stdexcept>
18
17
19
18
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
20
19
#pragma warning( disable : 4996 ) // disable warning about strdup being deprecated.
Original file line number Diff line number Diff line change 14
14
#include < math.h>
15
15
#include < sstream>
16
16
#include < utility>
17
- #include < stdexcept>
18
17
#include < cstring>
19
18
#include < cassert>
20
19
#ifdef JSON_USE_CPPTL
Original file line number Diff line number Diff line change 3
3
// recognized in your jurisdiction.
4
4
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5
5
6
+ #include " jsontest.h"
6
7
#include < json/config.h>
7
8
#include < json/json.h>
8
- #include " jsontest.h "
9
+ #include < stdexcept >
9
10
10
11
// Make numeric limits more convenient to talk about.
11
12
// Assumes int type in 32 bits.
You can’t perform that action at this time.
0 commit comments