Commit 3aa024f6 authored by neverlord's avatar neverlord

fixed narrowing warning

parent 6424ac22
...@@ -30,7 +30,7 @@ struct tree_node ...@@ -30,7 +30,7 @@ struct tree_node
{ {
} }
tree_node& add_child(int v = 0) tree_node& add_child(std::uint32_t v = 0)
{ {
children.push_back({ v }); children.push_back({ v });
return *this; return *this;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment