update cppcommon

This commit is contained in:
gwdwyy 2013-08-12 22:02:38 +08:00
parent 78900b957f
commit 05879ac6c3
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
namespace CPPCOMMON namespace CPPCOMMON
{ {
bool getArgvMap(int argc, char** argv, map<string,string>& mpss) bool getArgvMap(int argc, const char* const * argv, map<string,string>& mpss)
{ {
mpss.clear(); mpss.clear();
for(int i = 0; i < argc; i++) for(int i = 0; i < argc; i++)

View File

@ -12,7 +12,7 @@
namespace CPPCOMMON namespace CPPCOMMON
{ {
using namespace std; using namespace std;
bool getArgvMap(int argc, char** argv, map<string, string>& mpss); bool getArgvMap(int argc, const char* const* argv, map<string, string>& mpss);
} }
#endif #endif