Fixed some clang-format weirdness.

This commit is contained in:
Aaron Jacobs 2014-07-01 09:15:11 +10:00
parent 9fa4e849a1
commit 445328ace6
3 changed files with 7 additions and 10 deletions

View File

@ -19,14 +19,11 @@ namespace Json {
* the page size, the number of object in each page). * the page size, the number of object in each page).
* *
* It does not allow the destruction of a single object. All the allocated * It does not allow the destruction of a single object. All the allocated
*objects * objects can be destroyed at once. The memory can be either released or reused
* can be destroyed at once. The memory can be either released or reused for * for future allocation.
*future
* allocation.
* *
* The in-place new operator must be used to construct the object using the * The in-place new operator must be used to construct the object using the
*pointer * pointer returned by allocate.
* returned by allocate.
*/ */
template <typename AllocatedType, const unsigned int objectPerAllocation> template <typename AllocatedType, const unsigned int objectPerAllocation>
class BatchAllocator { class BatchAllocator {

View File

@ -16,8 +16,8 @@
#include <istream> #include <istream>
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0 #if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
#pragma warning(disable \ // Disable warning about strdup being deprecated.
: 4996) // disable warning about strdup being deprecated. #pragma warning(disable : 4996)
#endif #endif
namespace Json { namespace Json {

View File

@ -15,8 +15,8 @@
#include <iomanip> #include <iomanip>
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0 #if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
#pragma warning(disable \ // Disable warning about strdup being deprecated.
: 4996) // disable warning about strdup being deprecated. #pragma warning(disable : 4996)
#endif #endif
namespace Json { namespace Json {