commit 8c1e3caf122ec7cdb32e4df18fff58fb49b1cb8c
parent ad7b600990336df483f3d6f2f6cdeae957ec551f
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Sat, 9 Apr 2016 10:01:22 -0600
src: change '-' to '_' for symbol names
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/instrument_action.cc b/src/instrument_action.cc
@@ -42,6 +42,7 @@ get_current_node(std::string file_path)
std::string fn(file_path.substr(last_slash + 1));
std::replace(fn.begin(), fn.end(), '.', '_');
+ std::replace(fn.begin(), fn.end(), '-', '_');
return fn;
}