Skip to content

Commit e06e5b5

Browse files
committed
disable assignment operator due to reference members which generates compiler warnings
1 parent ea731a7 commit e06e5b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

inc/osvr/Common/GestureComponent.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ namespace common {
9292
private:
9393

9494
explicit GestureComponent(common::SystemComponent &systemComponent);
95+
// @brief Disable assignment operator, since we have reference
96+
/// members
97+
GestureComponent &operator=(const GestureComponent &) = delete;
9598

9699
void m_parentSet() override;
97100

0 commit comments

Comments
 (0)