We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c06e058 + 270f170 commit 7236489Copy full SHA for 7236489
include/behaviortree_cpp/utils/safe_any.hpp
@@ -134,7 +134,7 @@ class Any
134
}
135
136
// copy the value (casting into dst). We preserve the destination type.
137
- void copyInto(Any& dst);
+ void copyInto(Any& dst) const;
138
139
// this is different from any_cast, because if allows safe
140
// conversions between arithmetic values and from/to string.
@@ -346,7 +346,7 @@ inline bool Any::isIntegral() const
346
return _any.type() == typeid(int64_t) || _any.type() == typeid(uint64_t);
347
348
349
-inline void Any::copyInto(Any& dst)
+inline void Any::copyInto(Any& dst) const
350
{
351
if(dst.empty())
352
0 commit comments