Browse Source

Minor fix: Added const to a std::function.

merge-requests/365/head
eidheim 10 years ago
parent
commit
a6ad9f2d2b
  1. 2
      src/notebook.cc

2
src/notebook.cc

@ -113,7 +113,7 @@ void Notebook::open(std::string path) {
}
std::string Notebook::find_project_path(const std::string &path) {
auto find_cmake_project=[this](const boost::filesystem::path &path) {
const auto find_cmake_project=[this](const boost::filesystem::path &path) {
auto cmake_path=path;
cmake_path+="/CMakeLists.txt";
for(auto &line: juci::filesystem::read_lines(cmake_path)) {

Loading…
Cancel
Save