From 26dc5d44ddf4eade757e8fa220a2d3f04f4d804b Mon Sep 17 00:00:00 2001 From: tedjk Date: Mon, 18 May 2015 11:46:46 +0200 Subject: [PATCH] merged with gm --- juci/config.h | 2 +- juci/terminal.cc | 2 +- juci/terminal.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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_;