From ed8b2e772d3e041f825ea72297c6034391cd8404 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nicolas.pope@utu.fi> Date: Mon, 6 Jun 2022 15:31:36 +0000 Subject: [PATCH] #43 Fix channel utils --- include/ftl/protocol/channelUtils.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/ftl/protocol/channelUtils.hpp b/include/ftl/protocol/channelUtils.hpp index 4b33794..7c6a061 100644 --- a/include/ftl/protocol/channelUtils.hpp +++ b/include/ftl/protocol/channelUtils.hpp @@ -23,14 +23,14 @@ std::string name(Channel c); int type(Channel c); /** @deprecated */ -inline bool isFloatChannel(ftl::codecs::Channel chan) { +inline bool isFloatChannel(ftl::protocol::Channel chan) { switch (chan) { - case Channel::GroundTruth : - case Channel::Depth : - case Channel::Confidence : - case Channel::Flow : - case Channel::Density : - case Channel::Energy : return true; + case Channel::kGroundTruth : + case Channel::kDepth : + case Channel::kConfidence : + case Channel::kFlow : + case Channel::kDensity : + case Channel::kEnergy : return true; default : return false; } } -- GitLab