Added a debug display
This commit is contained in:
@@ -45,3 +45,9 @@ std::string truncatePath(std::string pathname) {
|
||||
}).base(),
|
||||
pathname.end());
|
||||
}
|
||||
|
||||
std::string to_string_custom(int i) {
|
||||
char buffer[20];
|
||||
snprintf(buffer, 20, "%d", i);
|
||||
return std::string(buffer);
|
||||
}
|
||||
|
||||
@@ -27,4 +27,7 @@
|
||||
int snapToBase(int base, int x);
|
||||
std::string truncatePath(std::string pathname);
|
||||
|
||||
//fixing a known bug in g++
|
||||
std::string to_string_custom(int i);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user