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).
*
* It does not allow the destruction of a single object. All the allocated
*objects
* can be destroyed at once. The memory can be either released or reused for
*future
* allocation.
* objects can be destroyed at once. The memory can be either released or reused
* for future allocation.
*
* The in-place new operator must be used to construct the object using the
*pointer
* returned by allocate.
* pointer returned by allocate.
*/
template <typename AllocatedType, const unsigned int objectPerAllocation>
class BatchAllocator {

View File

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

View File

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