Skip to content

Commit

Permalink
Using uppercase enum class to make ubuntu happy
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed Nov 15, 2024
1 parent 01bd69c commit fb52e54
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/devices/openxrheadset/FilteredPosePublisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void FilteredPosePublisher::updateInputPose(const OpenXrInterface::NamedPoseVelo
}
switch (input.filterType)
{
case PoseFilterType::JumpFilter:
case PoseFilterType::JUMP_FILTER:
PosePublisher::updateInputPose(filterJumps(input));
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion src/devices/openxrheadset/OpenXrInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ bool OpenXrInterface::prepareXrActions()

gazeInputs.poses =
{
{"/input/gaze_ext/pose", "pose", PoseFilterType::None}
{"/input/gaze_ext/pose", "pose", PoseFilterType::NONE}
};

TopLevelPathDeclaration gaze;
Expand Down
4 changes: 2 additions & 2 deletions src/devices/openxrheadset/OpenXrInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class IOpenXrQuadLayer

enum class PoseFilterType
{
None,
JumpFilter,
NONE,
JUMP_FILTER
};

struct OpenXrInterfaceSettings
Expand Down
2 changes: 1 addition & 1 deletion src/devices/openxrheadset/impl/OpenXrInterfaceImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ struct ActionDeclaration

struct PoseActionDeclaration : public ActionDeclaration
{
PoseFilterType filterType{ PoseFilterType::JumpFilter };
PoseFilterType filterType{ PoseFilterType::JUMP_FILTER };
};

struct InputActionsDeclaration
Expand Down

0 comments on commit fb52e54

Please sign in to comment.