brace style

This commit is contained in:
Janis Born
2015-11-25 11:21:38 +01:00
parent baf0efd646
commit 4c609dc6e2

View File

@@ -628,7 +628,8 @@ class VectorT {
}
/// swap with another vector
void swap(VectorT& _other) noexcept(noexcept(std::swap(values_, _other.values_))) {
void swap(VectorT& _other)
noexcept(noexcept(std::swap(values_, _other.values_))) {
std::swap(values_, _other.values_);
}
@@ -712,8 +713,7 @@ cross(const VectorT<LScalar, DIM>& _v1, const VectorT<RScalar, DIM>& _v2) ->
/// non-member swap
template<typename Scalar, int DIM>
void swap(VectorT<Scalar, DIM>& _v1, VectorT<Scalar, DIM>& _v2)
noexcept(noexcept(_v1.swap(_v2)))
{
noexcept(noexcept(_v1.swap(_v2))) {
_v1.swap(_v2);
}