Skip to content

Commit 2e7f414

Browse files
committed
Use existing type sharing_map_error_checkt in sharing map unit test
1 parent 9e348b7 commit 2e7f414

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

unit/util/sharing_map.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ Author: Daniel Poetzl
1919
typedef sharing_mapt<irep_idt, std::string, false, irep_id_hash>
2020
sharing_map_standardt;
2121

22-
typedef sharing_mapt<irep_idt, std::string, true, irep_id_hash>
23-
sharing_map_debugt;
24-
2522
class sharing_map_internalt : public sharing_map_standardt
2623
{
2724
friend void sharing_map_internals_test();
@@ -178,7 +175,7 @@ TEST_CASE("Sharing map interface", "[core][util]")
178175

179176
{
180177
cbmc_invariants_should_throwt invariants_throw;
181-
sharing_map_debugt debug_sm;
178+
sharing_map_error_checkt debug_sm;
182179
fill(debug_sm);
183180
REQUIRE_NOTHROW(
184181
debug_sm.update("i", [](std::string &str) { str += "1"; }));

0 commit comments

Comments
 (0)