Skip to content

Commit

Permalink
Fix: add return statement to start()
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaJelic committed Oct 6, 2023
1 parent c67492d commit 2b49695
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/repl/repl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ struct Repl {
}
// print epilogue
std::cout << std::format("\n^^ kalcy v{}\n", kalcy::version_v);
return EXIT_SUCCESS;
}

auto run(std::string_view const text) -> bool {
Expand Down Expand Up @@ -55,5 +56,5 @@ struct Repl {
auto main(int argc, char** argv) -> int {

Repl repl{};
repl.start();
return repl.start();
}

0 comments on commit 2b49695

Please sign in to comment.