From aed296f65222e4400729a71c99d2cf40e1b70f14 Mon Sep 17 00:00:00 2001 From: mtollari Date: Thu, 4 May 2017 15:03:19 +0000 Subject: [PATCH] Patch level : 12.0 no-patch Files correlati : Commento : Rimossa funzione superflua messa erratamente git-svn-id: svn://10.65.10.50/branches/R_10_00@23775 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- src/include/utility.cpp | 17 +---------------- src/include/utility.h | 6 ------ 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/src/include/utility.cpp b/src/include/utility.cpp index 1b7f3baa2..2c5909cab 100755 --- a/src/include/utility.cpp +++ b/src/include/utility.cpp @@ -696,19 +696,4 @@ void quoted_string(TString& query, const char* val) TString get_iva_sirio() { return "04879210963"; -} - -#if __cplusplus <= 199711L // Funzioni introdotte in C++11 - -int stoi(const char * value) -{ - TString app = value; - int retVal = 0; - for(int i = 0; i < app.len(); i++) - { - retVal += pow(double(app[i] - '0'), app.len() - i); // Convertito in double per evitare problemi di chiamata - } - return retVal; -} - -#endif \ No newline at end of file +} \ No newline at end of file diff --git a/src/include/utility.h b/src/include/utility.h index de5d5186d..605cc7be5 100755 --- a/src/include/utility.h +++ b/src/include/utility.h @@ -66,10 +66,4 @@ void quoted_string(TString& query, const char* val); TString get_iva_sirio(); // Ritorna la partita IVA della Sirio -#if __cplusplus <= 199711L // Funzioni introdotte in C++11 - -int stoi(const char * value); - -#endif - #endif /* __UTILITY_H */