diff --git a/cruft/util/region.hpp b/cruft/util/region.hpp index 8e2a227f..36fbf7cb 100644 --- a/cruft/util/region.hpp +++ b/cruft/util/region.hpp @@ -258,6 +258,15 @@ namespace cruft { } + //------------------------------------------------------------------------- + template + region& + operator|= (region &a, region const &b) + { + return a = a | b; + } + + /////////////////////////////////////////////////////////////////////////// /// Construct a region that consists of the overlapping portions of two /// supplied regions.