Skip to content

Commit

Permalink
clang tidy reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
anutosh491 committed Dec 22, 2024
1 parent 7a91638 commit 8f4a41e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions include/xeus-cpp/xinterpreter_wasm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ namespace xcpp
virtual ~wasm_interpreter() = default;

private:

static std::vector<const char*> create_args();

};
Expand Down
10 changes: 5 additions & 5 deletions src/xinterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ int __get_cxx_version () {
}
__get_cxx_version ()
)";
auto cxx_version = Cpp::Evaluate(code);
return std::to_string(cxx_version);
auto cxx_version = Cpp::Evaluate(code);
return std::to_string(cxx_version);
#else
constexpr int cxx_version = 20;
return std::to_string(cxx_version);
constexpr int cxx_version = 20;
return std::to_string(cxx_version);
#endif
}

Expand Down Expand Up @@ -363,7 +363,7 @@ __get_cxx_version ()
void interpreter::init_includes()
{
#ifndef EMSCRIPTEN
Cpp::AddIncludePath((xeus::prefix_path() + "/include/").c_str());
Cpp::AddIncludePath((xeus::prefix_path() + "/include/").c_str());
#endif
}

Expand Down

0 comments on commit 8f4a41e

Please sign in to comment.