Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
anutosh491 committed Jul 10, 2024
1 parent 46be1e0 commit 2c37d92
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion include/xeus-octave/xinterpreter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class xoctave_interpreter : public xeus::xinterpreter
void execute_request_impl(
send_reply_callback cb,
int execution_counter,
const std::string& code,
std::string const& code,
xeus::execute_request_config config,
nl::json user_expressions
) override;
Expand Down
12 changes: 6 additions & 6 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ int main(int argc, char* argv[])
/* logger= */ std::move(logger)
);

std::cout <<
"Starting xoctave kernel...\n\n"
"If you want to connect to this kernel from an other client, you can use"
" the " + connection_filename + " file."
<< std::endl;
std::cout << "Starting xoctave kernel...\n\n"
"If you want to connect to this kernel from an other client, you can use"
" the " +
connection_filename + " file."
<< std::endl;
kernel.start();
}
else
Expand All @@ -130,7 +130,7 @@ int main(int argc, char* argv[])
);

std::cout << "Getting config" << std::endl;
const auto& config = kernel.get_config();
auto const& config = kernel.get_config();
std::cout << xeus::get_start_message(config);
kernel.start();
}
Expand Down
2 changes: 1 addition & 1 deletion src/xinterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ void fix_parse_error(std::string& evalue, std::string const& code, int line, int
void xoctave_interpreter::execute_request_impl(
send_reply_callback cb,
int execution_count,
const std::string& code,
std::string const& code,
xeus::execute_request_config config,
nl::json /*user_expressions*/
)
Expand Down

0 comments on commit 2c37d92

Please sign in to comment.