mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 21:50:25 +00:00
Fix control reaches end of non-void function
This only compiles on MS Visual C++ version 12.0, or earlier (Visual Studio 2013, or earlier).
This commit is contained in:
parent
312af6064f
commit
bbdb5ad86a
@ -123,6 +123,7 @@ public:
|
||||
use_flat_tod_ = u.use_flat_tod_;
|
||||
impl_ = std::move(u.impl_);
|
||||
max_matches_ = u.max_matches_;
|
||||
return *this;
|
||||
}
|
||||
#else
|
||||
unit_filter(unit_filter&&) = default;
|
||||
|
Loading…
x
Reference in New Issue
Block a user