clean up
This commit is contained in:
@@ -10,7 +10,7 @@ ConfigParser::ConfigParser()
|
||||
|
||||
ConfigParser::ConfigParser(const char* path)
|
||||
{
|
||||
std::cout << "Param Constructor\n";
|
||||
// std::cout << "Param Constructor\n";
|
||||
|
||||
std::ifstream file;
|
||||
std::string buf;
|
||||
@@ -59,11 +59,10 @@ ConfigParser & ConfigParser::operator=(const ConfigParser& rhs)
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
// const?
|
||||
std::vector<ServerConfig> * ConfigParser::parse()
|
||||
{
|
||||
std::vector<ServerConfig> * ret = new std::vector<ServerConfig>();
|
||||
// std::vector<ServerConfig> ret;
|
||||
|
||||
size_t start = 0;
|
||||
size_t curr = _content.find_first_not_of(" \t\n", 0);
|
||||
|
||||
Reference in New Issue
Block a user