Skip to content
Snippets Groups Projects
Commit 032b337d authored by Dominic Kempf's avatar Dominic Kempf
Browse files

char* -> const char*

As std::string::c_str() returns it.
parent 3313ffee
No related branches found
No related tags found
No related merge requests found
...@@ -548,7 +548,7 @@ class TimerMethod(ClassMember): ...@@ -548,7 +548,7 @@ class TimerMethod(ClassMember):
assert(knl is not None) assert(knl is not None)
content = ["template <typename Stream>", content = ["template <typename Stream>",
"void dump_timers(Stream& {}, char* {}, bool {})".format(os, ident, reset), "void dump_timers(Stream& {}, const char* {}, bool {})".format(os, ident, reset),
"{"] "{"]
dump_timers = [i for i in retrieve_cache_items(condition='dump_timers')] dump_timers = [i for i in retrieve_cache_items(condition='dump_timers')]
content.extend(map(lambda x: ' ' + x, dump_timers)) content.extend(map(lambda x: ' ' + x, dump_timers))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment