fixed units and unit collection type, kinda
This commit is contained in:
12
main.cpp
12
main.cpp
@@ -1,21 +1,11 @@
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include "src/json/json.h"
|
||||
#include <string>
|
||||
#include "src/json/json-forwards.h"
|
||||
#include "src/loaders.h"
|
||||
|
||||
/*configuration load_config_file( std::string filename )
|
||||
{
|
||||
json j_conf = json_file_to_json_obj( filename );
|
||||
configuration appconfig = j_conf;
|
||||
return appconfig;
|
||||
}*/
|
||||
|
||||
int main()
|
||||
{
|
||||
Conf jsonLoader = Conf("config.json");
|
||||
UnitHolder units = UnitHolder( jsonLoader.get_units_path() );
|
||||
|
||||
std::cout << jsonLoader.get_units_path();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user