From bbdb5ad86ab2cb5768af82ee0839b797bd3f29d7 Mon Sep 17 00:00:00 2001 From: Gregory A Lundberg Date: Sat, 13 Jan 2018 11:20:43 -0600 Subject: [PATCH] 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). --- src/units/filter.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/units/filter.hpp b/src/units/filter.hpp index 063bf61023f..3eaba7f6714 100644 --- a/src/units/filter.hpp +++ b/src/units/filter.hpp @@ -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;