- cleaned up a whole pile of compiler warnings

This commit is contained in:
Mark Vejvoda
2010-10-21 15:21:46 +00:00
parent d5117ed7fa
commit 06b9d7eef7
7 changed files with 25 additions and 22 deletions

View File

@@ -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);