summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'seggetd/str.cpp')
-rw-r--r--seggetd/str.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/seggetd/str.cpp b/seggetd/str.cpp
index cc7e813..015a8ba 100644
--- a/seggetd/str.cpp
+++ b/seggetd/str.cpp
@@ -71,28 +71,6 @@ vector <string> split_to_vector(string splitter, string str){
return parts;
}
-/*
-template<typename T> string toString(T t){
- stringstream s;
- s << t;
- return s.str();
-}
-*/
-/*
-template<typename T> string field(string prefix,T t, int width){
- try{
- stringstream s1,s2;
- s1 << t;
- width=width+prefix.length();
- s2.width(width);
- s2 << prefix+s1.str();
- return s2.str();
- }catch(...){
- error_log("Error in str.cpp: field()");
- return "";
- }
-}
-*/
string field(string prefix,ulong t, int width){
try{
stringstream s1,s2;