Hadrons: macro refactoring for library portability

This commit is contained in:
portelli committed 2018-04-25 16:49:14 +01:00
1 parent b234784c8e
commit cc6eb51e3e
22 files changed
+55 -55

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ std::unique_ptr<T> Factory<T, CreatorInput>::create(const std::string type,
}
catch (std::out_of_range &)
{
//HADRON_ERROR("object of type '" + type + "' unknown");
//HADRONS_ERROR("object of type '" + type + "' unknown");
std::cout << GridLogError << "Error" << std::endl;
std::cout << GridLogError << obj_type() << " object of name [" << type << "] unknown" << std::endl;
exit(1);