Skip to content

Commit 522457a

Browse files
committed
clang 16: fix non-const lvalue reference error
wxNamingTree.cpp:94:45: error: non-const lvalue reference to type 'wxTreeItemIdValue' (aka 'void *') cannot bind to a value of unrelated type 'long' wxTreeItemId child = GetFirstChild( item, cookie); ^~~~~~
1 parent 57011d5 commit 522457a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TAO/utils/wxNamingViewer/wxNamingTree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void WxNamingTree::clearChildren()
9090

9191
void WxNamingTree::clearChildren( wxTreeItemId& item)
9292
{
93-
long cookie;
93+
wxTreeItemIdValue cookie;
9494
wxTreeItemId child = GetFirstChild( item, cookie);
9595
while( child) {
9696
clearChildren( child);

0 commit comments

Comments
 (0)