rapidjson.git
11 days agoMerge pull request #1631 from PhoebeHui/dev/Phoebe/vcpkg_instructions master
Milo Yip [Fri, 17 Jan 2020 01:55:44 +0000 (09:55 +0800)]
Merge pull request #1631 from PhoebeHui/dev/Phoebe/vcpkg_instructions

Add vcpkg installation instructions

12 days agoAdd vcpkg installation instructions 1631/head
PhoebeHui [Thu, 16 Jan 2020 11:09:20 +0000 (03:09 -0800)]
Add vcpkg installation instructions

8 weeks agoMerge pull request #1502 from ylavic/compilation_fixes
Milo Yip [Tue, 3 Dec 2019 01:51:05 +0000 (09:51 +0800)]
Merge pull request #1502 from ylavic/compilation_fixes

Compilation fixes

8 weeks agoMerge pull request #1617 from JPEWdev/master
Milo Yip [Tue, 3 Dec 2019 01:49:40 +0000 (09:49 +0800)]
Merge pull request #1617 from JPEWdev/master

Remove shadow typedef

8 weeks agoRemove shadow typedef 1617/head
Joshua Watt [Mon, 2 Dec 2019 15:11:25 +0000 (09:11 -0600)]
Remove shadow typedef

Removes a duplicate and identical typedef that was causing a
'declaration shadows typedef' (-Wshadow) warning in clang.

2 months agoMerge pull request #1609 from piratf/readme_contributing
Milo Yip [Mon, 25 Nov 2019 03:54:59 +0000 (11:54 +0800)]
Merge pull request #1609 from piratf/readme_contributing

add contributing section in readme.md

2 months agoadd contributing section in readme.md, introduced the basic cooperation process. 1609/head
piratf [Tue, 12 Nov 2019 08:03:21 +0000 (16:03 +0800)]
add contributing section in readme.md, introduced the basic cooperation process.

2 months agoMerge pull request #1603 from piratf/cmakelist_upgrade
Milo Yip [Mon, 11 Nov 2019 10:03:54 +0000 (18:03 +0800)]
Merge pull request #1603 from piratf/cmakelist_upgrade

fix CMake policy CMP0048 warning #1154

2 months agofix CMake policy CMP0048 warning #1154 1603/head
piratf [Mon, 11 Nov 2019 08:09:43 +0000 (16:09 +0800)]
fix CMake policy CMP0048 warning #1154

2 months agoMerge pull request #1548 from TranslucentTB/master
Milo Yip [Fri, 1 Nov 2019 02:53:00 +0000 (10:53 +0800)]
Merge pull request #1548 from TranslucentTB/master

Fix ARM NEON under MSVC

2 months agoMerge branch 'master' of https://github.com/Tencent/rapidjson 1548/head
Charles Milette [Fri, 1 Nov 2019 01:10:28 +0000 (21:10 -0400)]
Merge branch 'master' of https://github.com/Tencent/rapidjson

3 months agoMerge pull request #1591 from veekxt/patch-1
Milo Yip [Mon, 21 Oct 2019 13:19:59 +0000 (21:19 +0800)]
Merge pull request #1591 from veekxt/patch-1

fix a typo of doc

3 months agodoc: fix a typo 1591/head
VeekXT [Fri, 18 Oct 2019 10:49:15 +0000 (18:49 +0800)]
doc: fix a typo

3 months agoMerge pull request #1529 from rkoshy/master
Milo Yip [Tue, 15 Oct 2019 01:49:27 +0000 (09:49 +0800)]
Merge pull request #1529 from rkoshy/master

Fixed a build issue by initializing "index" in the header file

3 months agoMerge pull request #1582 from crazyscot/master
Milo Yip [Tue, 8 Oct 2019 02:12:13 +0000 (10:12 +0800)]
Merge pull request #1582 from crazyscot/master

Use C++17 fallthrough tag instead of disabling compiler warning

3 months agoMerge pull request #1544 from fredgan/master
Milo Yip [Tue, 8 Oct 2019 01:57:38 +0000 (09:57 +0800)]
Merge pull request #1544 from fredgan/master

修复文档中的错误

3 months agofix some misspellings 1544/head
fredgan [Tue, 8 Oct 2019 01:25:51 +0000 (09:25 +0800)]
fix some misspellings

3 months agoUse C++17 fallthrough tag instead of disabling warning 1582/head
Ross Younger [Tue, 1 Oct 2019 05:48:29 +0000 (18:48 +1300)]
Use C++17 fallthrough tag instead of disabling warning

Signed-off-by: Ross Younger <crazyscot@gmail.com>
4 months agoMerge pull request #1490 from MalcolmTyrrell/fixCompileErrorInPointerH
Milo Yip [Thu, 26 Sep 2019 02:08:13 +0000 (10:08 +0800)]
Merge pull request #1490 from MalcolmTyrrell/fixCompileErrorInPointerH

Fix vs2017 compile error C2105: '--' needs l-value

4 months agoMerge pull request #1579 from Tencent/vs2010
Milo Yip [Thu, 26 Sep 2019 02:07:46 +0000 (10:07 +0800)]
Merge pull request #1579 from Tencent/vs2010

Fix VS2010 build via disabling copy constructor in GenericMember

4 months agoProvide default implementations for move constructor/assignment in GenericMember vs2010 1579/head
Milo Yip [Wed, 25 Sep 2019 12:20:20 +0000 (20:20 +0800)]
Provide default implementations for move constructor/assignment in GenericMember

4 months agoDisable copy constructor in GenericMember
Milo Yip [Wed, 25 Sep 2019 10:02:17 +0000 (18:02 +0800)]
Disable copy constructor in GenericMember

4 months agoMerge pull request #1573 from esrrhs/master
Milo Yip [Wed, 25 Sep 2019 06:27:37 +0000 (14:27 +0800)]
Merge pull request #1573 from esrrhs/master

fix travis build

4 months agoUpdate travis-doxygen.sh 1573/head
zhao xin [Wed, 25 Sep 2019 03:17:28 +0000 (11:17 +0800)]
Update travis-doxygen.sh

4 months agoUpdate travis-doxygen.sh
zhao xin [Wed, 25 Sep 2019 03:16:55 +0000 (11:16 +0800)]
Update travis-doxygen.sh

4 months agoUpdate travis-doxygen.sh
zhao xin [Wed, 25 Sep 2019 03:16:26 +0000 (11:16 +0800)]
Update travis-doxygen.sh

4 months agoUpdate travis-doxygen.sh
zhao xin [Wed, 25 Sep 2019 03:16:06 +0000 (11:16 +0800)]
Update travis-doxygen.sh

4 months agoUpdate .travis.yml
zhao xin [Wed, 25 Sep 2019 02:26:39 +0000 (10:26 +0800)]
Update .travis.yml

4 months agoUpdate .travis.yml
zhao xin [Wed, 25 Sep 2019 02:17:39 +0000 (10:17 +0800)]
Update .travis.yml

4 months agoMerge pull request #1567 from AtnNn/master
Milo Yip [Thu, 12 Sep 2019 09:40:00 +0000 (17:40 +0800)]
Merge pull request #1567 from AtnNn/master

Allow pointer tokens to have non-null-terminated strings

4 months agoadd test for non-null-terminated token 1567/head
Etienne Laurin [Thu, 12 Sep 2019 07:12:06 +0000 (08:12 +0100)]
add test for non-null-terminated token

4 months agofix template parameter
Etienne Laurin [Wed, 11 Sep 2019 16:23:15 +0000 (17:23 +0100)]
fix template parameter

4 months agoAllow pointer tokens to have non-null-terminated strings
Etienne Laurin [Wed, 11 Sep 2019 16:03:35 +0000 (17:03 +0100)]
Allow pointer tokens to have non-null-terminated strings

5 months agoMerge pull request #1557 from MBoldyrev/doc/fix-uint-case
Milo Yip [Fri, 23 Aug 2019 07:07:50 +0000 (15:07 +0800)]
Merge pull request #1557 from MBoldyrev/doc/fix-uint-case

Documentation: fixed Uint case

5 months agofixed Uint case in docs 1557/head
Mikhail Boldyrev [Thu, 22 Aug 2019 16:55:00 +0000 (19:55 +0300)]
fixed Uint case in docs

6 months agoChange #ifdef to #if defined
Charles Milette [Thu, 25 Jul 2019 21:17:52 +0000 (17:17 -0400)]
Change #ifdef to #if defined

6 months agoUpdate comment
Charles Milette [Thu, 25 Jul 2019 21:12:48 +0000 (17:12 -0400)]
Update comment

6 months agoFix signedness error
Charles Milette [Thu, 25 Jul 2019 21:09:52 +0000 (17:09 -0400)]
Fix signedness error

6 months agoFix build error under non-Clang compilers
Charles Milette [Thu, 25 Jul 2019 20:55:34 +0000 (16:55 -0400)]
Fix build error under non-Clang compilers

6 months agoFix ARM NEON under MSVC
Charles Milette [Thu, 25 Jul 2019 20:21:11 +0000 (16:21 -0400)]
Fix ARM NEON under MSVC

6 months agoMerge pull request #1 from Tencent/master
FredGan [Tue, 16 Jul 2019 12:18:56 +0000 (20:18 +0800)]
Merge pull request #1 from Tencent/master

Change all GenericMemberIterator from struct to class

7 months agoChange all GenericMemberIterator from struct to class
Milo Yip [Fri, 28 Jun 2019 02:37:13 +0000 (10:37 +0800)]
Change all GenericMemberIterator from struct to class

7 months ago- Fixed a build issue by initializing "index" in the header file 1529/head
Renny Koshy [Sat, 22 Jun 2019 03:55:32 +0000 (23:55 -0400)]
- Fixed a build issue by initializing "index" in the header file

8 months agoMerge pull request #1506 from ylavic/CreatePattern
Milo Yip [Fri, 17 May 2019 01:27:30 +0000 (09:27 +0800)]
Merge pull request #1506 from ylavic/CreatePattern

Add missing curly brackets in STDREGEX's CreatePattern().

8 months agoRAPIDJSON_NOEXCEPT_ASSERT() should never throw. 1502/head
ylavic [Thu, 11 Apr 2019 22:31:28 +0000 (00:31 +0200)]
RAPIDJSON_NOEXCEPT_ASSERT() should never throw.

clang warns about throwing from RAPIDJSON_NOEXCEPT_ASSERT() in a nothrow
context.

If RAPIDJSON_ASSERT() throws it can never be used for _NOEXCEPT_ASSERT(),
so use C assert() instead.

Finally (and originally), since RAPIDJSON_ASSERT() in "unittest.h" throws,
make it define RAPIDJSON_ASSERT_THROWS for RAPIDJSON_NOEXCEPT_ASSERT() to
now do the right thing.

8 months agoFix compilation of sortkeys.cpp with MSVC 2013 (hopefully).
ylavic [Sat, 27 Apr 2019 22:51:20 +0000 (00:51 +0200)]
Fix compilation of sortkeys.cpp with MSVC 2013 (hopefully).

9 months agoAdd missing curly brackets in STDREGEX's CreatePattern(). 1506/head
ylavic [Mon, 29 Apr 2019 13:06:52 +0000 (15:06 +0200)]
Add missing curly brackets in STDREGEX's CreatePattern().

9 months agoFix vs2017 compile error C2105: '--' needs l-value 1490/head
Malcolm Tyrrell [Mon, 15 Apr 2019 09:00:14 +0000 (10:00 +0100)]
Fix vs2017 compile error C2105: '--' needs l-value

9 months agoMerge pull request #1488 from somone23412/somone23412-fix-typo-1
Milo Yip [Mon, 15 Apr 2019 01:25:18 +0000 (09:25 +0800)]
Merge pull request #1488 from somone23412/somone23412-fix-typo-1

Update pointer.zh-cn.md : fix typo

9 months agofix typo 1488/head
quyan [Sun, 14 Apr 2019 16:43:37 +0000 (00:43 +0800)]
fix typo

9 months agoMerge pull request #1481 from liangdzou/patch-1
Milo Yip [Tue, 9 Apr 2019 05:21:59 +0000 (13:21 +0800)]
Merge pull request #1481 from liangdzou/patch-1

add missing header "ios"

9 months agoadd missing header "ios" 1481/head
Liang ZOU [Tue, 9 Apr 2019 02:55:57 +0000 (10:55 +0800)]
add missing header "ios"

add missing header "ios" for symbol "std:: streamsize"

9 months agoMerge pull request #1479 from MaxXSoft/patch-tutorial
Milo Yip [Tue, 9 Apr 2019 01:42:14 +0000 (09:42 +0800)]
Merge pull request #1479 from MaxXSoft/patch-tutorial

doc/tutorial.zh-cn: fixed some typos

9 months agodoc/tutorial.zh-cn: fixed some typos 1479/head
MaxXSoft [Mon, 8 Apr 2019 11:20:06 +0000 (19:20 +0800)]
doc/tutorial.zh-cn: fixed some typos

9 months agoMerge pull request #1477 from eisaev/patch-1
Milo Yip [Thu, 4 Apr 2019 06:50:21 +0000 (14:50 +0800)]
Merge pull request #1477 from eisaev/patch-1

Fixed typo in allocators.h

9 months agoUpdate allocators.h 1477/head
eisaev [Wed, 3 Apr 2019 17:10:30 +0000 (22:10 +0500)]
Update allocators.h

Fixed typo

10 months agoMerge pull request #1462 from ra1u/master
Milo Yip [Mon, 11 Mar 2019 02:35:27 +0000 (10:35 +0800)]
Merge pull request #1462 from ra1u/master

Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro

10 months agoAllow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro 1462/head
Luka Rahne [Sun, 10 Mar 2019 17:52:46 +0000 (18:52 +0100)]
Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro

10 months agoMerge pull request #727 from mapbox/silence-dereference-null-pointer
Milo Yip [Wed, 6 Mar 2019 01:33:13 +0000 (09:33 +0800)]
Merge pull request #727 from mapbox/silence-dereference-null-pointer

Silence false positive clang-tidy warning

11 months agoUpdate doxygen download URL
Milo Yip [Mon, 11 Feb 2019 07:17:59 +0000 (15:17 +0800)]
Update doxygen download URL

11 months agoWorkaround of sortkeys example
Milo Yip [Mon, 11 Feb 2019 06:14:35 +0000 (14:14 +0800)]
Workaround of sortkeys example

11 months agoAdding swap() for GenericMember
Milo Yip [Fri, 8 Feb 2019 03:39:25 +0000 (11:39 +0800)]
Adding swap() for GenericMember

11 months agoFix gcc compilation error in sortkeys
Milo Yip [Wed, 6 Feb 2019 12:35:20 +0000 (20:35 +0800)]
Fix gcc compilation error in sortkeys

11 months agoUpdate sortkeys.cpp
Milo Yip [Wed, 6 Feb 2019 11:59:09 +0000 (19:59 +0800)]
Update sortkeys.cpp

11 months agoMerge pull request #1421 from HomeControlAS/sort_by_name_example
Milo Yip [Wed, 6 Feb 2019 11:52:54 +0000 (19:52 +0800)]
Merge pull request #1421 from HomeControlAS/sort_by_name_example

added example for sorting keys

11 months agoMerge pull request #1439 from ylavic/schema_pointer_allocator
Milo Yip [Wed, 6 Feb 2019 11:31:03 +0000 (19:31 +0800)]
Merge pull request #1439 from ylavic/schema_pointer_allocator

Use the allocator of the Schema for its Pointer.

11 months agoMerge pull request #1442 from rbilovol/cmake-fixup
Milo Yip [Wed, 6 Feb 2019 11:30:43 +0000 (19:30 +0800)]
Merge pull request #1442 from rbilovol/cmake-fixup

CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path

11 months agoMerge pull request #1444 from leolchat/patch-1
Milo Yip [Wed, 6 Feb 2019 11:30:11 +0000 (19:30 +0800)]
Merge pull request #1444 from leolchat/patch-1

Correct complexity claim

11 months agoCorrect complexity claim 1444/head
Léonard Gérard [Fri, 1 Feb 2019 06:29:07 +0000 (22:29 -0800)]
Correct complexity claim

12 months agoCMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path 1442/head
Ruslan Bilovol [Thu, 24 Jan 2019 16:11:39 +0000 (18:11 +0200)]
CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path

Currently this path is hardcoded to lib/cmake.
Some distributions have different library path (like lib64).
So reuse LIB_INSTALL_DIR for that to make CMAKECONFIG_INSTALL_DIR
configurable and usable in such distros.

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
12 months agoUse the allocator of the Schema for its Pointer. 1439/head
ylavic [Thu, 10 Jan 2019 17:42:16 +0000 (18:42 +0100)]
Use the allocator of the Schema for its Pointer.

The Pointer passed to construct the Schema can be from the stack or any
transient storage, so the copy stored in the Schema must have the same
lifetime/allocator as the Schema itself.

13 months agoMerge pull request #1426 from ylavic/pointer_less_than
Milo Yip [Wed, 19 Dec 2018 08:25:09 +0000 (16:25 +0800)]
Merge pull request #1426 from ylavic/pointer_less_than

Add "less than" operator to Pointer.

13 months agoMerge branch 'master' into pointer_less_than 1426/head
Milo Yip [Tue, 18 Dec 2018 01:32:09 +0000 (09:32 +0800)]
Merge branch 'master' into pointer_less_than

13 months agoMerge pull request #1431 from ylavic/pointer_swap
Milo Yip [Tue, 18 Dec 2018 01:31:05 +0000 (09:31 +0800)]
Merge pull request #1431 from ylavic/pointer_swap

Allow to (std::)Swap two pointers.

13 months agoPointer tests now need <algorithm> (for std::swap), but no tabs. 1431/head
ylavic [Mon, 17 Dec 2018 13:42:09 +0000 (14:42 +0100)]
Pointer tests now need <algorithm> (for std::swap), but no tabs.

13 months agoAllow to (std::)Swap two pointers.
ylavic [Mon, 17 Dec 2018 13:33:32 +0000 (14:33 +0100)]
Allow to (std::)Swap two pointers.

13 months agoSpeed up Pointer::operator<().
ylavic [Wed, 12 Dec 2018 21:32:56 +0000 (22:32 +0100)]
Speed up Pointer::operator<().

Speed is more important than alphabetical order (which makes few sense in
JSON in general, and with pointers especially). The use case is indexing
in std containers, i.e. O(log n) with rbtree, so the faster comparison
the better.

13 months agoRework Pointer::operator<() loop.
ylavic [Mon, 10 Dec 2018 23:40:05 +0000 (00:40 +0100)]
Rework Pointer::operator<() loop.

I must be too dumb to understand the mess MSVC (32bit only) did with the
previous loop, and to figure out how it might have make it never end.
Anyway, hopefully any compiler can grok this new loop...

13 months agoUnit test for Pointer::operator<().
ylavic [Mon, 10 Dec 2018 23:19:13 +0000 (00:19 +0100)]
Unit test for Pointer::operator<().

13 months agoAdd less than operator to Pointer.
ylavic [Mon, 10 Dec 2018 20:47:43 +0000 (21:47 +0100)]
Add less than operator to Pointer.

Allows to sort pointers in (std-)containers and/or index by them.

13 months agoMerge pull request #1425 from ylavic/filereadstream_peek4
Milo Yip [Thu, 6 Dec 2018 15:44:10 +0000 (23:44 +0800)]
Merge pull request #1425 from ylavic/filereadstream_peek4

Fix off by one in FileReadStream::Peek4()

13 months agoMerge pull request #1424 from ylavic/file_input_streams
Milo Yip [Thu, 6 Dec 2018 15:43:48 +0000 (23:43 +0800)]
Merge pull request #1424 from ylavic/file_input_streams

Optimize FileReadStream and BasicIStreamWrapper.

13 months agoMerge pull request #1416 from ylavic/regex_syntax_noassert
Milo Yip [Thu, 6 Dec 2018 15:41:45 +0000 (23:41 +0800)]
Merge pull request #1416 from ylavic/regex_syntax_noassert

GenericRegex: don't throw/abort on syntax error (unclosed parenthesis).

13 months agoFix FileReadStream::Peek4(). 1425/head
ylavic [Wed, 5 Dec 2018 23:48:47 +0000 (00:48 +0100)]
Fix FileReadStream::Peek4().

Until Read() reaches EOF, Peek4() must not take off by one in
bufferLast_ into account; otherwise a buffer of size exactly 4 always
returns NULL.

13 months agoBase buffered BasicIStreamWrapper on the original (better performing) FileReadStream... 1424/head
ylavic [Wed, 5 Dec 2018 23:21:05 +0000 (00:21 +0100)]
Base buffered BasicIStreamWrapper on the original (better performing) FileReadStream algorithm.

13 months agoPossibly std::ios::binary helps with streams on Windows
ylavic [Wed, 5 Dec 2018 17:35:45 +0000 (18:35 +0100)]
Possibly std::ios::binary helps with streams on Windows

13 months agoOptimize FileReadStream and BasicIStreamWrapper.
ylavic [Wed, 5 Dec 2018 15:06:12 +0000 (16:06 +0100)]
Optimize FileReadStream and BasicIStreamWrapper.

On (my) linux, perftest reports:
- ~40% gain for FileReadStream (Take() loop),
- ~10% gain for ReaderParse_DummyHandler_FileReadStream.

With the same logic applied to BasicIStreamWrapper, which thus can now
also be created with a user buffer, performances align with those of
FileReadStream (same buffer size).

The "unbuffered" versions (added for FileReadStream) work solely with
the internal peekBuffer (Ch[4]) and are measured in perftest.  When
performances don't matter much, they can avoid the use of large
stack/heap buffers.

13 months agoremoved std::string and receiving const Value in printIt 1421/head
seky [Wed, 5 Dec 2018 07:24:59 +0000 (08:24 +0100)]
removed std::string and receiving const Value in printIt

13 months agoadded example for sorting keys
seky [Tue, 4 Dec 2018 21:40:40 +0000 (22:40 +0100)]
added example for sorting keys

13 months agoUnit test for invalid GenericRegex (unclosed parenthesis). 1416/head
ylavic [Mon, 3 Dec 2018 10:49:34 +0000 (11:49 +0100)]
Unit test for invalid GenericRegex (unclosed parenthesis).

13 months agoGenericRegex: don't throw/abort on syntax error (unclosed parenthesis).
ylavic [Sun, 2 Dec 2018 22:26:58 +0000 (23:26 +0100)]
GenericRegex: don't throw/abort on syntax error (unclosed parenthesis).

13 months agoMerge pull request #1413 from ylavic/schema_regex_leak
Milo Yip [Mon, 3 Dec 2018 01:53:39 +0000 (09:53 +0800)]
Merge pull request #1413 from ylavic/schema_regex_leak

Fix a memory leak for invalid std::regex in Schema.

13 months agoMerge pull request #1414 from ylavic/regex_allocator
Milo Yip [Mon, 3 Dec 2018 01:51:50 +0000 (09:51 +0800)]
Merge pull request #1414 from ylavic/regex_allocator

Use passed in allocator for internal regex parser.

13 months agoFix a memory leak for invalid std::regex in Schema. 1413/head
ylavic [Sat, 1 Dec 2018 22:36:45 +0000 (23:36 +0100)]
Fix a memory leak for invalid std::regex in Schema.

13 months agoUse passed in allocator for internal regex parser. 1414/head
ylavic [Sat, 1 Dec 2018 18:32:23 +0000 (19:32 +0100)]
Use passed in allocator for internal regex parser.

14 months agoMerge pull request #1388 from yhager/yhager/clang-7
Milo Yip [Thu, 22 Nov 2018 04:30:02 +0000 (12:30 +0800)]
Merge pull request #1388 from yhager/yhager/clang-7

silence clang-7 self-assign-overloaded warning

14 months agoMerge pull request #1403 from jcmonnin/fix-warning
Milo Yip [Thu, 22 Nov 2018 04:22:41 +0000 (12:22 +0800)]
Merge pull request #1403 from jcmonnin/fix-warning

Fix warning when NDEBUG is defined [-Wunused-variable]

14 months agoFix warning when NDEBUG is defined [-Wunused-variable] 1403/head
Jean-Claude Monnin [Wed, 21 Nov 2018 12:24:06 +0000 (13:24 +0100)]
Fix warning when NDEBUG is defined [-Wunused-variable]

Because `isPeek()` is side effect free this should not change anything.

The reason this warning is not shown in the unit tests is because the asserts
are always evaluated in the unit test:

#define RAPIDJSON_ASSERT(x) (!(x) ? throw AssertException(RAPIDJSON_STRINGIFY(x)) : (void)0u)

14 months agoUpdate test/unittest/pointertest.cpp 1388/head
Philipp A. Hartmann [Thu, 1 Nov 2018 03:31:04 +0000 (20:31 -0700)]
Update test/unittest/pointertest.cpp

Co-Authored-By: yhager <yhager@users.noreply.github.com>
15 months agosilence clang-7 self-assign-overloaded warning
Yuval Hager [Fri, 26 Oct 2018 21:58:57 +0000 (14:58 -0700)]
silence clang-7 self-assign-overloaded warning