From c7f30a0989cae0d49375dd0794db66c0107c7f0f Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Fri, 3 Dec 2021 14:05:26 +0100
Subject: [PATCH] STYLE: use Hash<word> instead of string::hasher for
 runTimeSelectionTables

---
 .../db/runTimeSelection/construction/runTimeSelectionTables.H | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/OpenFOAM/db/runTimeSelection/construction/runTimeSelectionTables.H b/src/OpenFOAM/db/runTimeSelection/construction/runTimeSelectionTables.H
index 976bd6e7df9..d5fd13438d2 100644
--- a/src/OpenFOAM/db/runTimeSelection/construction/runTimeSelectionTables.H
+++ b/src/OpenFOAM/db/runTimeSelection/construction/runTimeSelectionTables.H
@@ -61,7 +61,7 @@ Description
     <                                                                          \
         prefix##Ptr,                                                           \
         ::Foam::word,                                                          \
-        ::Foam::string::hasher                                                 \
+        ::Foam::Hash<::Foam::word>                                             \
     > prefix##TableType;                                                       \
                                                                                \
     /* Lookup aliases for constructors */                                      \
@@ -69,7 +69,7 @@ Description
     <                                                                          \
         std::pair<::Foam::word,int>,                                           \
         ::Foam::word,                                                          \
-        ::Foam::string::hasher                                                 \
+        ::Foam::Hash<::Foam::word>                                             \
     > prefix##CompatTableType;                                                 \
                                                                                \
     /* Table singleton (storage) */                                            \
-- 
GitLab