summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'request/str.cpp')
-rw-r--r--request/str.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/request/str.cpp b/request/str.cpp
index d86d12c..bbb4e59 100644
--- a/request/str.cpp
+++ b/request/str.cpp
@@ -51,28 +51,6 @@ string toString(bool t){
s << t;
return s.str();
}
-/*
-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;