@@ -76,8 +76,8 @@ class Infrastructure
7676 Qty>,
7777 public PlaceOrderInterface<MemoryPoolThreadSafety>,
7878 public CancelOrderInterface<MemoryPoolThreadSafety> {
79- static constexpr bool kFoundInfrastructure_ = true ;
80- static constexpr bool kNotFoundInfrastructure_ = false ;
79+ static constexpr bool kFoundInfrastructure = true ;
80+ static constexpr bool kNotFoundInfrastructure = false ;
8181
8282 boost::asio::io_context ioc_trade_; // may be need ioc_trade = ioc
8383 boost::asio::executor_work_guard<boost::asio::io_context::executor_type>
@@ -169,10 +169,10 @@ class Infrastructure
169169 auto it = contexts_.find (trading_pair);
170170 if (it == contexts_.end () || !it->second ||
171171 !it->second ->best_bid_notifier ) {
172- return kNotFoundInfrastructure_ ;
172+ return kNotFoundInfrastructure ;
173173 }
174174 it->second ->best_bid_notifier ->SetCallback (cb);
175- return kFoundInfrastructure_ ;
175+ return kFoundInfrastructure ;
176176 }
177177
178178 bool SetCallbackOnBestAskChange (
@@ -184,10 +184,10 @@ class Infrastructure
184184 auto it = contexts_.find (trading_pair);
185185 if (it == contexts_.end () || !it->second ||
186186 !it->second ->best_ask_notifier ) {
187- return kNotFoundInfrastructure_ ;
187+ return kNotFoundInfrastructure ;
188188 }
189189 it->second ->best_ask_notifier ->SetCallback (cb);
190- return kFoundInfrastructure_ ;
190+ return kFoundInfrastructure ;
191191 }
192192 void PlaceOrder (
193193 boost::intrusive_ptr<aos::RequestInterface<MemoryPoolThreadSafety>>
@@ -257,8 +257,8 @@ class Infrastructure
257257 Price, Qty>,
258258 public PlaceOrderInterface<MemoryPoolThreadSafety>,
259259 public CancelOrderInterface<MemoryPoolThreadSafety> {
260- static constexpr bool kFoundInfrastructure_ = true ;
261- static constexpr bool kNotFoundInfrastructure_ = false ;
260+ static constexpr bool kFoundInfrastructure = true ;
261+ static constexpr bool kNotFoundInfrastructure = false ;
262262
263263 boost::asio::io_context ioc_trade_; // may be need ioc_trade = ioc
264264 boost::asio::executor_work_guard<boost::asio::io_context::executor_type>
@@ -359,10 +359,10 @@ class Infrastructure
359359 auto it = contexts_.find (trading_pair);
360360 if (it == contexts_.end () || !it->second ||
361361 !it->second ->best_bid_notifier ) {
362- return kNotFoundInfrastructure_ ;
362+ return kNotFoundInfrastructure ;
363363 }
364364 it->second ->best_bid_notifier ->SetCallback (cb);
365- return kFoundInfrastructure_ ;
365+ return kFoundInfrastructure ;
366366 }
367367
368368 bool SetCallbackOnBestAskChange (
@@ -371,10 +371,10 @@ class Infrastructure
371371 auto it = contexts_.find (trading_pair);
372372 if (it == contexts_.end () || !it->second ||
373373 !it->second ->best_ask_notifier ) {
374- return kNotFoundInfrastructure_ ;
374+ return kNotFoundInfrastructure ;
375375 }
376376 it->second ->best_ask_notifier ->SetCallback (cb);
377- return kFoundInfrastructure_ ;
377+ return kFoundInfrastructure ;
378378 }
379379 void PlaceOrder (
380380 boost::intrusive_ptr<aos::RequestInterface<MemoryPoolThreadSafety>>
0 commit comments