Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes committed Apr 10, 2024
1 parent 4e308ef commit 754de9b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion include/xeus-zmq/xserver_zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <uvw.hpp>
#endif

#include <memory> // std::unique_ptr
#include <memory>

#include "xeus/xeus_context.hpp"
#include "xeus/xkernel_configuration.hpp"
Expand Down
17 changes: 8 additions & 9 deletions src/xserver_zmq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <uvw.hpp>
#endif

#include <memory> // std::unique_ptr
#include <memory>

#include "xeus-zmq/xserver_zmq.hpp"
#include "xserver_zmq_impl.hpp"
Expand Down Expand Up @@ -100,8 +100,8 @@ namespace xeus
}

std::unique_ptr<xserver> make_xserver_default(xcontext& context,
const xconfiguration& config,
nl::json::error_handler_t eh)
const xconfiguration& config,
nl::json::error_handler_t eh)
{
auto impl = std::make_unique<xserver_zmq_default>(context.get_wrapped_context<zmq::context_t>(), config, eh);
return std::make_unique<xserver_zmq>(std::move(impl));
Expand All @@ -123,12 +123,11 @@ namespace xeus
return std::make_unique<xserver_zmq>(std::move(impl));
}

std::unique_ptr<xserver> make_xserver_uv_shell_main(
xcontext& context,
const xconfiguration& config,
nl::json::error_handler_t eh,
std::shared_ptr<uvw::loop> loop_ptr,
std::unique_ptr<xhook_base> hook)
std::unique_ptr<xserver> make_xserver_uv_shell_main(xcontext& context,
const xconfiguration& config,
nl::json::error_handler_t eh,
std::shared_ptr<uvw::loop> loop_ptr,
std::unique_ptr<xhook_base> hook)
{
auto impl = std::make_unique<xserver_shell_main>(
context.get_wrapped_context<zmq::context_t>(), config, eh, loop_ptr, std::move(hook));
Expand Down

0 comments on commit 754de9b

Please sign in to comment.