Update clang-tidy to clang version 8
[alexxy/gromacs.git] / src / gromacs / hardware / cpuinfo.cpp
index b5425e4b4d51c41d17f2db929a3b69a8b1ba7d68..037204b15e5afde7cc2c8f82f854d4c704e30396 100644 (file)
@@ -413,7 +413,7 @@ detectX86Features(std::string *                  brand,
  *  \returns A new std::vector of unsigned integer APIC IDs, one for each
  *           logical processor in the system.
  */
-const std::vector<unsigned int>
+std::vector<unsigned int>
 detectX86ApicIDs(bool gmx_unused haveX2Apic)
 {
     std::vector<unsigned int>  apicID;
@@ -704,7 +704,7 @@ detectX86LogicalProcessors()
  * \return New map with the contents. If the file is not available, the returned
  *         map will be empty.
  */
-const std::map<std::string, std::string>
+std::map<std::string, std::string>
 parseProcCpuInfo()
 {
     std::ifstream                       procCpuInfo("/proc/cpuinfo");