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
This commit is contained in:
parent
c3cdbc4aa0
commit
aed296f652
@ -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
|
||||
}
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user