Skip to content

Commit c87b32e

Browse files
martinThomas Kiley
martin
authored and
Thomas Kiley
committed
Correct use of macros so that unit test work with USE_STD_STRING
This don't show up on travis because the unit tests are currently not being built on Travis if USE_STD_STRING is set. Originally by Hannes Steffenhagen.
1 parent 830c302 commit c87b32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit/util/irep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SCENARIO("irept_memory", "[core][utils][irept]")
2222
const std::size_t ref_count_size = 0;
2323
#endif
2424

25-
#ifndef USE_STRING
25+
#ifndef USE_STD_STRING
2626
const std::size_t data_size = sizeof(dstringt);
2727
REQUIRE(sizeof(dstringt) == sizeof(unsigned));
2828
#else

0 commit comments

Comments
 (0)