Skip to content
Snippets Groups Projects
Commit 140ba5f9 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Merge branch 'hotfix/0-2-2' into 'main'

#43 Fix channel utils

See merge request beyondaka/beyond-protocol!19
parents 8d817349 ed8b2e77
No related branches found
No related tags found
No related merge requests found
...@@ -23,14 +23,14 @@ std::string name(Channel c); ...@@ -23,14 +23,14 @@ std::string name(Channel c);
int type(Channel c); int type(Channel c);
/** @deprecated */ /** @deprecated */
inline bool isFloatChannel(ftl::codecs::Channel chan) { inline bool isFloatChannel(ftl::protocol::Channel chan) {
switch (chan) { switch (chan) {
case Channel::GroundTruth : case Channel::kGroundTruth :
case Channel::Depth : case Channel::kDepth :
case Channel::Confidence : case Channel::kConfidence :
case Channel::Flow : case Channel::kFlow :
case Channel::Density : case Channel::kDensity :
case Channel::Energy : return true; case Channel::kEnergy : return true;
default : return false; default : return false;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment