Skip to content

Commit 8f4a41e

Browse files
committed
clang tidy reviews
1 parent 7a91638 commit 8f4a41e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

include/xeus-cpp/xinterpreter_wasm.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ namespace xcpp
2323
virtual ~wasm_interpreter() = default;
2424

2525
private:
26+
2627
static std::vector<const char*> create_args();
2728

2829
};

src/xinterpreter.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ int __get_cxx_version () {
9696
}
9797
__get_cxx_version ()
9898
)";
99-
auto cxx_version = Cpp::Evaluate(code);
100-
return std::to_string(cxx_version);
99+
auto cxx_version = Cpp::Evaluate(code);
100+
return std::to_string(cxx_version);
101101
#else
102-
constexpr int cxx_version = 20;
103-
return std::to_string(cxx_version);
102+
constexpr int cxx_version = 20;
103+
return std::to_string(cxx_version);
104104
#endif
105105
}
106106

@@ -363,7 +363,7 @@ __get_cxx_version ()
363363
void interpreter::init_includes()
364364
{
365365
#ifndef EMSCRIPTEN
366-
Cpp::AddIncludePath((xeus::prefix_path() + "/include/").c_str());
366+
Cpp::AddIncludePath((xeus::prefix_path() + "/include/").c_str());
367367
#endif
368368
}
369369

0 commit comments

Comments
 (0)