1
0

Moved returns

This commit is contained in:
worktycho 2014-03-08 14:23:00 +00:00
parent a38be148ba
commit 16ebbca35b

View File

@ -1,4 +1,3 @@
// MetaRotater.h // MetaRotater.h
// Provides a mixin for rotations and reflections // Provides a mixin for rotations and reflections
@ -44,11 +43,12 @@ NIBBLETYPE cMetaRotater<Base, BitMask, North, East, South, West, AssertIfNotMatc
if (AssertIfNotMatched) if (AssertIfNotMatched)
{ {
ASSERT(!"Invalid Meta value"); ASSERT(!"Invalid Meta value");
return a_Meta;
} }
return a_Meta;
} }
template<class Base, NIBBLETYPE BitMask, NIBBLETYPE North, NIBBLETYPE East, NIBBLETYPE South, NIBBLETYPE West, bool AssertIfNotMatched> template<class Base, NIBBLETYPE BitMask, NIBBLETYPE North, NIBBLETYPE East, NIBBLETYPE South, NIBBLETYPE West, bool AssertIfNotMatched>
NIBBLETYPE cMetaRotater<Base, BitMask, North, East, South, West, AssertIfNotMatched>::MetaRotateCCW(NIBBLETYPE a_Meta) NIBBLETYPE cMetaRotater<Base, BitMask, North, East, South, West, AssertIfNotMatched>::MetaRotateCCW(NIBBLETYPE a_Meta)
{ {
@ -63,8 +63,8 @@ NIBBLETYPE cMetaRotater<Base, BitMask, North, East, South, West, AssertIfNotMatc
if (AssertIfNotMatched) if (AssertIfNotMatched)
{ {
ASSERT(!"Invalid Meta value"); ASSERT(!"Invalid Meta value");
return a_Meta;
} }
return a_Meta;
} }