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:
parent
245ed6df64
commit
696ff5bf76
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user