Skip to content

Commit

Permalink
WIP try if forceinline helps
Browse files Browse the repository at this point in the history
  • Loading branch information
frankosterfeld committed Sep 18, 2024
1 parent 1b80836 commit f50d4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/include/gnuradio-4.0/Settings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ inline constexpr uint64_t convertTimePointToUint64Ns(const std::chrono::time_poi

static auto nullMatchPred = [](auto, auto, auto) { return std::nullopt; };

inline std::strong_ordering comparePmt(const pmtv::pmt& lhs, const pmtv::pmt& rhs) {
forceinline std::strong_ordering comparePmt(const pmtv::pmt& lhs, const pmtv::pmt& rhs) {
// If the types are different, cast rhs to the type of lhs and compare
if (lhs.index() != rhs.index()) {
// TODO: throw if types are not the same?
Expand Down

0 comments on commit f50d4f4

Please sign in to comment.