Commit ec7f8f9bead738c5184935f6c6853681f79ed4a9

Authored by Jordi Inglada
1 parent 880ccebe
Exists in master

REFAC: rename function

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
include/cbutils.h
... ... @@ -40,7 +40,7 @@ std::vector<std::string> split(const std::string& str,
40 40 namespace file
41 41 {
42 42 //Reads a text file and returns a vector of lines
43   -std::vector<std::string> readlines(const std::string& fname)
  43 +std::vector<std::string> read_lines(const std::string& fname)
44 44 {
45 45 std::ifstream ifs(fname);
46 46 std::vector<std::string> lines{};
... ...