mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-02 14:08:05 +01:00
Hadrons: macro refactoring for library portability
This commit is contained in:
1 parent
b234784c8e
commit
cc6eb51e3e
22 files changed
+55
-55
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user