diff --git a/src/lib/orderman/OrderServiceServer.cpp b/src/lib/orderman/OrderServiceServer.cpp index 38ca23e86..17a612f71 100644 --- a/src/lib/orderman/OrderServiceServer.cpp +++ b/src/lib/orderman/OrderServiceServer.cpp @@ -102,7 +102,7 @@ ActorThread *find_thread_for_actor( class OpenOrderRecordIDStore { public: - std::uint32_t get_rec_id(std::string exch_order_id) { + std::uint32_t get_rec_id(const std::string &exch_order_id) { auto [it, is_new] = rec_ids_.try_emplace(exch_order_id, rec_id_counter_); if (is_new) {