Skip to content

Commit

Permalink
[MDAPI-82][C++] Implement MarketDepthModel
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyKalin committed Nov 28, 2024
1 parent 6e22794 commit 6e4987e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions include/dxfeed_graal_cpp_api/entity/SharedEntity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ struct DXFCPP_EXPORT SharedEntity : public Entity, std::enable_shared_from_this<
}
};

DXFCXX_DISABLE_GCC_WARNINGS_PUSH("-Wvirtual-move-assign")

template <typename T>
struct RequireMakeShared : virtual SharedEntity {
protected:
Expand All @@ -93,6 +95,8 @@ struct RequireMakeShared : virtual SharedEntity {
}
};

DXFCXX_DISABLE_GCC_WARNINGS_POP()

template <typename EBase, Derived<EBase> EDerived>
static std::shared_ptr<EDerived> convertEvent(const std::shared_ptr<EBase> &source) {
return source->template sharedAs<EDerived>();
Expand Down
2 changes: 1 addition & 1 deletion include/dxfeed_graal_cpp_api/internal/Timer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct Timer {
}
}

constexpr void sleep(std::uint64_t ms) const {
void sleep(std::uint64_t ms) const {
sleep(std::chrono::milliseconds(ms));
}

Expand Down
4 changes: 4 additions & 0 deletions include/dxfeed_graal_cpp_api/ipf/InstrumentProfile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

DXFCXX_DISABLE_MSC_WARNINGS_PUSH(4251)

DXFCXX_DISABLE_GCC_WARNINGS_PUSH("-Wvirtual-move-assign")

#include "../internal/Common.hpp"

#include <cstdint>
Expand Down Expand Up @@ -795,4 +797,6 @@ template <> struct std::hash<dxfcpp::InstrumentProfile::Ptr> {
}
};

DXFCXX_DISABLE_GCC_WARNINGS_POP()

DXFCXX_DISABLE_MSC_WARNINGS_POP()

0 comments on commit 6e4987e

Please sign in to comment.