mirror of
https://github.com/glest/glest-source.git
synced 2025-08-08 17:36:30 +02:00
- cleaned up a whole pile of compiler warnings
This commit is contained in:
@@ -13,10 +13,13 @@
|
||||
#define _SHARED_UTIL_CONVERSION_H_
|
||||
|
||||
#include <string>
|
||||
#include "types.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
using namespace Shared::Platform;
|
||||
|
||||
namespace Shared { namespace Util {
|
||||
|
||||
bool strToBool(const string &s);
|
||||
@@ -28,7 +31,7 @@ bool strToInt(const string &s, int *i);
|
||||
bool strToFloat(const string &s, float *f);
|
||||
|
||||
string boolToStr(bool b);
|
||||
string intToStr(int i);
|
||||
string intToStr(int64 i);
|
||||
string intToHex(int i);
|
||||
string floatToStr(float f,int precsion=2);
|
||||
string doubleToStr(double f,int precsion=2);
|
||||
|
Reference in New Issue
Block a user