File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -644,9 +644,6 @@ class JSON_API ValueIteratorBase {
644
644
typedef int difference_type;
645
645
typedef ValueIteratorBase SelfType;
646
646
647
- ValueIteratorBase ();
648
- explicit ValueIteratorBase (const Value::ObjectValues::iterator& current);
649
-
650
647
bool operator ==(const SelfType& other) const { return isEqual (other); }
651
648
652
649
bool operator !=(const SelfType& other) const { return !isEqual (other); }
@@ -694,6 +691,12 @@ class JSON_API ValueIteratorBase {
694
691
Value::ObjectValues::iterator current_;
695
692
// Indicates that iterator is for a null value.
696
693
bool isNull_;
694
+
695
+ public:
696
+ // For some reason, BORLAND needs these at the end, rather
697
+ // than earlier. No idea why.
698
+ ValueIteratorBase ();
699
+ explicit ValueIteratorBase (const Value::ObjectValues::iterator& current);
697
700
};
698
701
699
702
/* * \brief const iterator for object and array value.
Original file line number Diff line number Diff line change 33
33
#define snprintf std::snprintf
34
34
#endif
35
35
36
+ #if defined(__BORLANDC__)
37
+ #include < float.h>
38
+ #define isfinite _finite
39
+ #define snprintf _snprintf
40
+ #endif
41
+
36
42
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
37
43
// Disable warning about strdup being deprecated.
38
44
#pragma warning(disable : 4996)
You can’t perform that action at this time.
0 commit comments