Skip to content

Commit

Permalink
Add missing noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
cfnptr committed Dec 16, 2023
1 parent 55792e5 commit d641137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linear-pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ struct Ref final
ref.counter = nullptr;
ref.item = ID<T>();
}
Ref& operator=(Ref&& ref)
Ref& operator=(Ref&& ref) noexcept
{
counter = ref.counter;
item = ref.item;
Expand Down

0 comments on commit d641137

Please sign in to comment.