We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae2f794 + 507b16a commit a740bd9Copy full SHA for a740bd9
1 file changed
include/vsg/core/observer_ptr.h
@@ -136,7 +136,7 @@ namespace vsg
136
}
137
138
template<class R>
139
- bool operator<(const vsg::ref_ptr<R> rhs) const
+ bool operator<(const vsg::ref_ptr<R>& rhs) const
140
{
141
if (rhs.get() < _ptr)
142
return true;
@@ -146,7 +146,7 @@ namespace vsg
146
147
148
149
- bool operator==(const vsg::ref_ptr<R> rhs) const
+ bool operator==(const vsg::ref_ptr<R>& rhs) const
150
151
if (rhs.get() != _ptr)
152
return false;
@@ -156,7 +156,7 @@ namespace vsg
156
157
158
159
- bool operator!=(const vsg::ref_ptr<R> rhs) const
+ bool operator!=(const vsg::ref_ptr<R>& rhs) const
160
161
162
0 commit comments