Fix namespace compilation errors

This commit is contained in:
Milo Yip 2014-11-23 18:59:35 +08:00
parent b855c3f73a
commit 0a17e1a634
4 changed files with 8 additions and 8 deletions

View File

@ -23,7 +23,7 @@
#include "../rapidjson.h"
namespace rapidjson {
RAPIDJSON_NAMESPACE_BEGIN
namespace internal {
class BigInteger {
@ -285,6 +285,6 @@ private:
};
} // namespace internal
} // namespace rapidjson
RAPIDJSON_NAMESPACE_END
#endif // RAPIDJSON_BIGINTEGER_H_

View File

@ -32,7 +32,7 @@
#endif
#endif
namespace rapidjson {
RAPIDJSON_NAMESPACE_BEGIN
namespace internal {
#ifdef __GNUC__
@ -263,6 +263,6 @@ RAPIDJSON_DIAG_POP
#endif
} // namespace internal
} // namespace rapidjson
RAPIDJSON_NAMESPACE_END
#endif // RAPIDJSON_DIYFP_H_

View File

@ -23,7 +23,7 @@
#include "../rapidjson.h"
namespace rapidjson {
RAPIDJSON_NAMESPACE_BEGIN
namespace internal {
class Double {
@ -85,6 +85,6 @@ private:
};
} // namespace internal
} // namespace rapidjson
RAPIDJSON_NAMESPACE_END
#endif // RAPIDJSON_IEEE754_

View File

@ -27,7 +27,7 @@
#include "diyfp.h"
#include "pow10.h"
namespace rapidjson {
RAPIDJSON_NAMESPACE_BEGIN
namespace internal {
inline double FastPath(double significand, int exp) {
@ -280,6 +280,6 @@ inline double StrtodFullPrecision(double d, int p, const char* decimals, size_t
}
} // namespace internal
} // namespace rapidjson
RAPIDJSON_NAMESPACE_END
#endif // RAPIDJSON_STRTOD_