From 6b592768146020a04892e6406dc7440db43fb1d8 Mon Sep 17 00:00:00 2001 From: Frank Osterfeld Date: Tue, 17 Sep 2024 15:47:38 +0200 Subject: [PATCH] inline function Signed-off-by: Frank Osterfeld --- core/include/gnuradio-4.0/Settings.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/gnuradio-4.0/Settings.hpp b/core/include/gnuradio-4.0/Settings.hpp index a145f21aa..0fa41e123 100644 --- a/core/include/gnuradio-4.0/Settings.hpp +++ b/core/include/gnuradio-4.0/Settings.hpp @@ -71,7 +71,7 @@ inline constexpr uint64_t convertTimePointToUint64Ns(const std::chrono::time_poi static auto nullMatchPred = [](auto, auto, auto) { return std::nullopt; }; -std::strong_ordering comparePmt(const pmtv::pmt& lhs, const pmtv::pmt& rhs) { +inline 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?