Update clang-tidy to clang version 8
[alexxy/gromacs.git] / src / gromacs / topology / residuetypes.h
index b53defa676e0fcb08b4d8b8638bdb36cbda5f66b..afadef8610ae909ffce3d279b6b28d31cfb7db85 100644 (file)
@@ -91,7 +91,7 @@ class ResidueType
          * \param[in] index Which entry should be returned.
          * \returns The name of the entry at \p index, or nullptr.
          */
-        const std::string nameFromResidueIndex(int index) const;
+        std::string nameFromResidueIndex(int index) const;
         /*! \brief
          * Return the residue type if a residue with that name exists, or "Other"
          *