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

#43 Fix channel utils

parent 8d817349
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.
Please register or to comment