Modernize STL usage
[alexxy/gromacs.git] / src / gromacs / utility / exceptions.h
index 034a60b3d12ec3c37c1d1eeabb895de3290259bd..51abee1c42beff9b22c658353453d50447b620aa 100644 (file)
@@ -379,7 +379,7 @@ private:
  * if the enable_if causes problems with some compilers, it can be removed.
  */
 template<class Exception, class Tag, class T>
-inline std::enable_if_t<std::is_base_of<GromacsException, Exception>::value, Exception>
+inline std::enable_if_t<std::is_base_of_v<GromacsException, Exception>, Exception>
 operator<<(Exception ex, const ExceptionInfo<Tag, T>& item)
 {
     ex.setInfo(item);