mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Unreachable code, fixed compiler warning (#271)
* Unreachable code, fixed compiler warning * Update simd8f.h
This commit is contained in:
parent
fc8a335f13
commit
1e53e779fb
@ -167,7 +167,7 @@ namespace dlib
|
||||
#endif
|
||||
}
|
||||
inline simd8f& operator+= (simd8f& lhs, const simd8f& rhs)
|
||||
{ return lhs = lhs + rhs; return lhs;}
|
||||
{ lhs = lhs + rhs; return lhs; }
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
@ -181,7 +181,7 @@ namespace dlib
|
||||
#endif
|
||||
}
|
||||
inline simd8f& operator-= (simd8f& lhs, const simd8f& rhs)
|
||||
{ return lhs = lhs - rhs; return lhs;}
|
||||
{ lhs = lhs - rhs; return lhs; }
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
@ -195,7 +195,7 @@ namespace dlib
|
||||
#endif
|
||||
}
|
||||
inline simd8f& operator*= (simd8f& lhs, const simd8f& rhs)
|
||||
{ return lhs = lhs * rhs; return lhs;}
|
||||
{ lhs = lhs * rhs; return lhs; }
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
@ -209,7 +209,7 @@ namespace dlib
|
||||
#endif
|
||||
}
|
||||
inline simd8f& operator/= (simd8f& lhs, const simd8f& rhs)
|
||||
{ return lhs = lhs / rhs; return lhs;}
|
||||
{ lhs = lhs / rhs; return lhs; }
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user