File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 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 {
644644 typedef int difference_type;
645645 typedef ValueIteratorBase SelfType;
646646
647- ValueIteratorBase ();
648- explicit ValueIteratorBase (const Value::ObjectValues::iterator& current);
649-
650647 bool operator ==(const SelfType& other) const { return isEqual (other); }
651648
652649 bool operator !=(const SelfType& other) const { return !isEqual (other); }
@@ -694,6 +691,12 @@ class JSON_API ValueIteratorBase {
694691 Value::ObjectValues::iterator current_;
695692 // Indicates that iterator is for a null value.
696693 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);
697700};
698701
699702/* * \brief const iterator for object and array value.
Original file line number Diff line number Diff line change 3333#define snprintf std::snprintf
3434#endif
3535
36+ #if defined(__BORLANDC__)
37+ #include < float.h>
38+ #define isfinite _finite
39+ #define snprintf _snprintf
40+ #endif
41+
3642#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
3743// Disable warning about strdup being deprecated.
3844#pragma warning(disable : 4996)
You can’t perform that action at this time.
0 commit comments