Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / compat / utility.h
index 28be2a2cc8fe99898b30c5ae1062123fdfc63ae3..c3fcdc6c5f8c6c0284f6f880853cd976ec5e9308 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  * \ingroup module_compat
  * \inlibraryapi
  */
- #ifndef GMX_COMPAT_UTILITY_H
- #define GMX_COMPAT_UTILITY_H
+#ifndef GMX_COMPAT_UTILITY_H
+#define GMX_COMPAT_UTILITY_H
 namespace gmx
 {
 namespace compat
 {
 //! Forms lvalue reference to const type of t
-template <class T>
-constexpr const T &as_const(T &t) noexcept
+template<class T>
+constexpr const T& as_const(T& t) noexcept
 {
     return t;
 }