Skip to content

Commit

Permalink
Update src/simplnx/Utilities/FilterUtilities.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Duffey <[email protected]>
  • Loading branch information
imikejackson and JDuffeyBQ authored Jul 29, 2024
1 parent 9abc288 commit 8362f86
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/simplnx/Utilities/FilterUtilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ auto RunTemplateClass(DataType dataType, ArgsT&&... args)
return ClassT<float64>(std::forward<ArgsT>(args)...)();
}
}
std::stringstream ss;
ss << "FilterUtilities::RunTemplateClass<> Error: dataType did not match any known type. DataType was " << to_underlying(dataType);
throw std::runtime_error(ss.str());
throw std::runtime_error(fmt::format("FilterUtilities::RunTemplateClass<> Error: dataType did not match any known type. DataType was {}", DataTypeToString(dataType)));

Check failure on line 98 in src/simplnx/Utilities/FilterUtilities.hpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, v142)

'DataTypeToString': identifier not found (compiling source file D:\a\simplnx\simplnx\src\simplnx\Common\AtomicFile.cpp) [D:\a\simplnx\simplnx\build\simplnx.vcxproj]

Check failure on line 98 in src/simplnx/Utilities/FilterUtilities.hpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, v142)

'DataTypeToString': identifier not found (compiling source file D:\a\simplnx\simplnx\src\simplnx\Utilities\FilterUtilities.cpp) [D:\a\simplnx\simplnx\build\simplnx.vcxproj]

Check failure on line 98 in src/simplnx/Utilities/FilterUtilities.hpp

View workflow job for this annotation

GitHub Actions / build (macos-12)

use of undeclared identifier 'DataTypeToString'

Check failure on line 98 in src/simplnx/Utilities/FilterUtilities.hpp

View workflow job for this annotation

GitHub Actions / build (ubuntu-20.04, g++-10)

there are no arguments to ‘DataTypeToString’ that depend on a template parameter, so a declaration of ‘DataTypeToString’ must be available [-fpermissive]

Check failure on line 98 in src/simplnx/Utilities/FilterUtilities.hpp

View workflow job for this annotation

GitHub Actions / build (macos-14)

use of undeclared identifier 'DataTypeToString'

Check failure on line 98 in src/simplnx/Utilities/FilterUtilities.hpp

View workflow job for this annotation

GitHub Actions / build (ubuntu-20.04, clang++-10)

use of undeclared identifier 'DataTypeToString'

Check failure on line 98 in src/simplnx/Utilities/FilterUtilities.hpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, v143)

'DataTypeToString': identifier not found [D:\a\simplnx\simplnx\build\simplnx.vcxproj]

Check failure on line 98 in src/simplnx/Utilities/FilterUtilities.hpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, v143)

'DataTypeToString': identifier not found [D:\a\simplnx\simplnx\build\simplnx.vcxproj]
}

template <class FuncT, class... ArgsT>
Expand Down

0 comments on commit 8362f86

Please sign in to comment.