mirror of
https://github.com/BlackMATov/ecs.hpp.git
synced 2025-12-14 02:56:42 +07:00
fix prototype::merge linking error
This commit is contained in:
4
ecs.hpp
4
ecs.hpp
@@ -1797,7 +1797,7 @@ namespace ecs_hpp
|
||||
return std::move(*this);
|
||||
}
|
||||
|
||||
prototype& prototype::merge(const prototype& other, bool override) & {
|
||||
inline prototype& prototype::merge(const prototype& other, bool override) & {
|
||||
for ( const auto family_id : other.appliers_ ) {
|
||||
if ( override || !appliers_.has(family_id) ) {
|
||||
appliers_.insert_or_assign(
|
||||
@@ -1808,7 +1808,7 @@ namespace ecs_hpp
|
||||
return *this;
|
||||
}
|
||||
|
||||
prototype&& prototype::merge(const prototype& other, bool override) && {
|
||||
inline prototype&& prototype::merge(const prototype& other, bool override) && {
|
||||
merge(other, override);
|
||||
return std::move(*this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user