Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / utility / errorcodes.cpp
index d18c8bd1164d7a9f9c33a57707927ec3ae8dd5d4..76cb0e4efe253b944d62d356dda40c3b620f5f7b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,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.
@@ -56,8 +56,7 @@ namespace
  *
  * \ingroup module_utility
  */
-const char *const error_names[] =
-{
+const char* const error_names[] = {
     "No error",
     "Out of memory",
     "File not found",
@@ -78,9 +77,9 @@ const char *const error_names[] =
     "Unknown error",
 };
 
-}   // namespace
+} // namespace
 
-const char *getErrorCodeString(int errorcode)
+const chargetErrorCodeString(int errorcode)
 {
     if (errorcode < 0 || errorcode >= eeUnknownError)
     {