Skip to content

Commit 6764059

Browse files
committed
1 parent 5d32295 commit 6764059

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

include/json/assertions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#endif // if !defined(JSON_IS_AMALGAMATION)
1414

1515
#if JSON_USE_EXCEPTION
16+
# include <stdexcept>
1617
#define JSON_ASSERT( condition ) assert( condition ); // @todo <= change this into an exception throw
1718
#define JSON_FAIL_MESSAGE( message ) throw std::runtime_error( message );
1819
#else // JSON_USE_EXCEPTION

include/json/version.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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

src/lib_json/json_reader.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <cassert>
1515
#include <cstring>
1616
#include <istream>
17-
#include <stdexcept>
1817

1918
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
2019
#pragma warning( disable : 4996 ) // disable warning about strdup being deprecated.

src/lib_json/json_value.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <math.h>
1515
#include <sstream>
1616
#include <utility>
17-
#include <stdexcept>
1817
#include <cstring>
1918
#include <cassert>
2019
#ifdef JSON_USE_CPPTL

src/test_lib_json/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
// recognized in your jurisdiction.
44
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
55

6+
#include "jsontest.h"
67
#include <json/config.h>
78
#include <json/json.h>
8-
#include "jsontest.h"
9+
#include <stdexcept>
910

1011
// Make numeric limits more convenient to talk about.
1112
// Assumes int type in 32 bits.

0 commit comments

Comments
 (0)