Skip to content

Commit a775a2f

Browse files
author
martin
committed
Fix various things that were broken with USE_STD_STRING
In particular, this applies to the --vs-progress-string-statistics feature as this requires the string_container to be available. Other than that, there are also two places in the unit tests (which don't show up on travis because the unit tests are currently not being built on Travis if USE_STD_STRING is set)
1 parent 521e90e commit a775a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit/util/sharing_map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ TEST_CASE("Sharing map views and iteration", "[core][util]")
492492

493493
SECTION("View")
494494
{
495-
typedef std::pair<std::string, std::string> pt;
495+
typedef std::pair<irep_idt, std::string> pt;
496496

497497
sharing_map_standardt sm;
498498
sharing_map_standardt::viewt view;

0 commit comments

Comments
 (0)