2
0
mirror of https://github.com/team2059/Zaphod synced 2024-12-18 20:12:28 -05:00

Config compiles now (untested)

This commit is contained in:
Austen Adler 2014-08-31 17:00:57 -04:00
parent 245ed6df64
commit 696ff5bf76

View File

@ -1,6 +1,6 @@
#include "HHBase.h"
#include <iostream>
#include <ifstream.h>
#include <fstream>
#include <stdexcept>
#include <map>
HHBase::HHBase():
@ -15,8 +15,8 @@ void HHBase::RobotInit(){
}
}
//Config testing
void parse(std::ifstream & cfgfile){
std::map<std::string, std::string> options;
void parse(std::ifstream & cfgfile){
std::string id, eq, val;
while(cfgfile >> id >> eq >> val){
if (id[0] == '#') continue;