Skip to content

Commit 445328a

Browse files
committed
Fixed some clang-format weirdness.
1 parent 9fa4e84 commit 445328a

3 files changed

Lines changed: 7 additions & 10 deletions

File tree

src/lib_json/json_batchallocator.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,11 @@ namespace Json {
1919
* the page size, the number of object in each page).
2020
*
2121
* It does not allow the destruction of a single object. All the allocated
22-
*objects
23-
* can be destroyed at once. The memory can be either released or reused for
24-
*future
25-
* allocation.
22+
* objects can be destroyed at once. The memory can be either released or reused
23+
* for future allocation.
2624
*
2725
* The in-place new operator must be used to construct the object using the
28-
*pointer
29-
* returned by allocate.
26+
* pointer returned by allocate.
3027
*/
3128
template <typename AllocatedType, const unsigned int objectPerAllocation>
3229
class BatchAllocator {

src/lib_json/json_reader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#include <istream>
1717

1818
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
19-
#pragma warning(disable \
20-
: 4996) // disable warning about strdup being deprecated.
19+
// Disable warning about strdup being deprecated.
20+
#pragma warning(disable : 4996)
2121
#endif
2222

2323
namespace Json {

src/lib_json/json_writer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include <iomanip>
1616

1717
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
18-
#pragma warning(disable \
19-
: 4996) // disable warning about strdup being deprecated.
18+
// Disable warning about strdup being deprecated.
19+
#pragma warning(disable : 4996)
2020
#endif
2121

2222
namespace Json {

0 commit comments

Comments
 (0)