build improvements and a logging fix

This commit is contained in:
Marc Wäckerlin
2017-04-05 14:44:23 +00:00
parent df16c058fd
commit adf3048247
2 changed files with 39 additions and 7 deletions
+6 -6
View File
@@ -197,9 +197,9 @@ extern "C" void __cyg_profile_func_enter(void *this_fn, void*) {
(hierarchy.rfind(' ', std::min(hierarchy.find('<'),
hierarchy.find("operator"))));
if (p!=std::string::npos) hierarchy.erase(0, p+1);
// hierarchy.erase
// (hierarchy.find_first_not_of
// ("qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM1234567890_."));
hierarchy.erase
(hierarchy.find_first_not_of
("qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM1234567890_."));
if (hierarchy=="") hierarchy = "global";
std::string name("mrw.fn."+hierarchy);
log4cxx::Logger* logger
@@ -238,9 +238,9 @@ extern "C" void __cyg_profile_func_exit(void *this_fn, void*) {
(hierarchy.rfind(' ', std::min(hierarchy.find('<'),
hierarchy.find("operator"))));
if (p!=std::string::npos) hierarchy.erase(0, p+1);
// hierarchy.erase
// (hierarchy.find_first_not_of
// ("qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM1234567890_."));
hierarchy.erase
(hierarchy.find_first_not_of
("qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM1234567890_."));
if (hierarchy=="") hierarchy = "global";
std::string name("mrw.fn."+hierarchy);
log4cxx::Logger* logger