Skip to content

Commit

Permalink
No need to store reference
Browse files Browse the repository at this point in the history
  • Loading branch information
anutosh491 committed Apr 18, 2024
1 parent f0ed838 commit 9a37747
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/client_ipc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ namespace nl = nlohmann;
int main(int, char**)
{
auto context_ptr = xeus::make_zmq_context();
xeus::xcontext& context = *context_ptr;
xeus::xconfiguration config;
config.m_transport = "ipc";
config.m_ip = "localhost";
Expand All @@ -33,7 +32,7 @@ int main(int, char**)
config.m_signature_scheme = "none";
config.m_key = "";

xeus::xipc_client ipc_client(context, config);
xeus::xipc_client ipc_client(*context_ptr, config);

xeus::xguid socket_id = xeus::new_xguid();
nl::json header = xeus::make_header("execute_request", "tester", "DAEDZFAEDE12");
Expand Down

0 comments on commit 9a37747

Please sign in to comment.