Skip to content

Commit ae96ae4

Browse files
russelltgpaceholder
authored andcommitted
Remove uneeded const
The const means nothing, because the pointer is being copied anyways. This also fixes this warning: `ConnectionState.hpp:44:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]`
1 parent b073d63 commit ae96ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ConnectionState.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ConnectionState
4141

4242
void setLastHoveredNode(Node* node);
4343

44-
Node* const
44+
Node*
4545
lastHoveredNode() const
4646
{ return _lastHoveredNode; }
4747

0 commit comments

Comments
 (0)