Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/behaviortree_cpp/utils/safe_any.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class Any
}

// copy the value (casting into dst). We preserve the destination type.
void copyInto(Any& dst);
void copyInto(Any& dst) const;

// this is different from any_cast, because if allows safe
// conversions between arithmetic values and from/to string.
Expand Down Expand Up @@ -346,7 +346,7 @@ inline bool Any::isIntegral() const
return _any.type() == typeid(int64_t) || _any.type() == typeid(uint64_t);
}

inline void Any::copyInto(Any& dst)
inline void Any::copyInto(Any& dst) const
{
if(dst.empty())
{
Expand Down
Loading