Skip to content

Commit

Permalink
Merge pull request KomodoPlatform#2391 from KomodoPlatform/fix-build-…
Browse files Browse the repository at this point in the history
…warnings

Fix build warnings
  • Loading branch information
smk762 authored Dec 18, 2023
2 parents 07fe3d9 + 1e699e0 commit a9f2718
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/core/atomicdex/models/qt.orderbook.model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ namespace atomic_dex
void
orderbook_model::refresh_orderbook(const t_orders_contents& orderbook, bool is_bestorders)
{
SPDLOG_DEBUG("[orderbook_model::refresh_orderbook], is_bestorders: {}", is_bestorders);
auto refresh_functor = [this](const std::vector<mm2::order_contents>& contents)
{
for (auto&& order: contents)
Expand Down
2 changes: 0 additions & 2 deletions src/core/atomicdex/pages/qt.trading.page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1507,8 +1507,6 @@ namespace atomic_dex
//! base_min_vol -> 0.0001 KMD
//! rel_min_vol -> 10 DOGE
t_float_50 min_trade_vol_f = safe_float(min_trade_vol.toStdString());
const auto& current_min_taker_vol = get_orderbook_wrapper()->get_current_min_taker_vol().toStdString();
t_float_50 current_min_taker_vol_f = safe_float(current_min_taker_vol);
const auto& base_min_taker_vol = get_orderbook_wrapper()->get_base_min_taker_vol().toStdString();
t_float_50 base_min_taker_vol_f = safe_float(base_min_taker_vol);

Expand Down
2 changes: 1 addition & 1 deletion src/core/atomicdex/utilities/global.utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ namespace atomic_dex::utils
std::string
retrieve_main_ticker(const std::string& ticker, const bool segwit_only)
{
auto pos = ticker.find('-');
auto pos = ticker.find("-");
if (segwit_only)
{
if (ticker.find("-segwit") != std::string::npos)
Expand Down

0 comments on commit a9f2718

Please sign in to comment.