diff --git a/src/parser/OTF2Parser/ParserDefinitionOTF2.cpp b/src/parser/OTF2Parser/ParserDefinitionOTF2.cpp
index f60850d9b3943dd7d984ec3585295611e470c8e6..4ed172c3520f313755c564a8d11b31437e32e10c 100644
--- a/src/parser/OTF2Parser/ParserDefinitionOTF2.cpp
+++ b/src/parser/OTF2Parser/ParserDefinitionOTF2.cpp
@@ -541,7 +541,7 @@ Color *ParserDefinitionOTF2::get_color(uint32_t func_id) {
 }
 
 Color *ParserDefinitionOTF2::get_color(String function_name) {
-    uint32_t func_id = std::hash<std::string>{}(function_name.to_string());
+    uint32_t func_id = std::hash<std::string> {}(function_name.to_string());
     return get_color(func_id);
 }