Modernize STL usage
[alexxy/gromacs.git] / src / gromacs / domdec / localatomsetmanager.h
index 8a2c227f32bd2ec65b53e03f5a4d4a9ce0a73bd8..bff851974512d261e04e2f0107a088587e47906f 100644 (file)
@@ -84,7 +84,7 @@ public:
      * \param[in] globalAtomIndex Indices of the atoms to be managed
      * \returns Handle to LocalAtomSet.
      */
-    template<typename T = void, typename U = std::enable_if_t<!std::is_same<int, index>::value, T>>
+    template<typename T = void, typename U = std::enable_if_t<!std::is_same_v<int, index>, T>>
     LocalAtomSet add(ArrayRef<const int> globalAtomIndex);
 #endif
     /*! \brief Add a new atom set to be managed and give back a handle.