From ff4668501e5846d96119d9255ed69e594df1731f Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Mon, 5 Feb 2024 21:49:18 +0100 Subject: [PATCH] omf: bugfix --- modules/io/src/mol/omf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/io/src/mol/omf.cc b/modules/io/src/mol/omf.cc index 34333b17d..ae87b6b72 100644 --- a/modules/io/src/mol/omf.cc +++ b/modules/io/src/mol/omf.cc @@ -2044,7 +2044,7 @@ namespace{ if(name.size() > std::numeric_limits<uint8_t>::max()) { std::stringstream ss; ss << "Max name size that can be dumped is "; - ss << std::numeric_limits<uint8_t>::max << ". "; + ss << std::numeric_limits<uint8_t>::max() << ". "; ss << "got: "<<name<<std::endl; throw ost::Error(ss.str()); } -- GitLab