diff --git a/test_regress/t/t_scope_map.cpp b/test_regress/t/t_scope_map.cpp index ed23cfafb..5885b9a5d 100644 --- a/test_regress/t/t_scope_map.cpp +++ b/test_regress/t/t_scope_map.cpp @@ -41,7 +41,7 @@ int main(int argc, char **argv, char **env) { for (VerilatedScopeNameMap::const_iterator it = scopeMapp->begin(); it != scopeMapp->end(); it++) { #ifdef TEST_VERBOSE VL_PRINTF("---------------------------------------------\n"); - VL_PRINTF("Scope = %s\n", it->first.c_str()); + VL_PRINTF("Scope = %s\n", it->first); it->second->scopeDump(); #endif VerilatedVarNameMap * varNameMap = it->second->varsp();