@ -1,4 +1,4 @@
#ifndef
#ifndef JUCI_CONFIG_H_
#define JUCI_CONFIG_H_
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/xml_parser.hpp>
@ -7,7 +7,7 @@
Terminal::Config::Config() {
}
Terminal::Config::Config(Terminal::Config& original) {
for (auto it = 0; original.compile_commands().size(); ++it) {
for (auto it = 0; it<original.compile_commands().size(); ++it) {
InsertCompileCommand(original.compile_commands().at(it));
@ -11,7 +11,7 @@ namespace Terminal {
public:
Config ();
Config(Terminal::Config& original);
std::vector<std::string>& compile_commands() {return &compile_commands_;}
std::vector<std::string>& compile_commands() { return compile_commands_; }
void InsertCompileCommand(std::string command);
private:
std::vector<std::string> compile_commands_;