Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b29c99 commit 5a158efCopy full SHA for 5a158ef
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.
@@ -321,7 +321,7 @@ inline bool Any::isIntegral() const
321
return _any.type() == typeid(int64_t) || _any.type() == typeid(uint64_t);
322
323
324
-inline void Any::copyInto(Any& dst)
+inline void Any::copyInto(Any& dst) const
325
{
326
if(dst.empty())
327
0 commit comments