diff --git a/juci/config.h b/juci/config.h index 2b7b596..f6c652e 100644 --- a/juci/config.h +++ b/juci/config.h @@ -1,4 +1,4 @@ -#ifndef +#ifndef JUCI_CONFIG_H_ #define JUCI_CONFIG_H_ #include #include diff --git a/juci/terminal.cc b/juci/terminal.cc index 7984532..52cdcdc 100644 --- a/juci/terminal.cc +++ b/juci/terminal.cc @@ -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& compile_commands() {return &compile_commands_;} + std::vector& compile_commands() { return compile_commands_; } void InsertCompileCommand(std::string command); private: std::vector compile_commands_;