diff --git a/code/Rufl/hfile.cpp b/code/Rufl/hfile.cpp index 5642cec..a72591d 100644 --- a/code/Rufl/hfile.cpp +++ b/code/Rufl/hfile.cpp @@ -60,7 +60,7 @@ struct SOpenFile }; typedef ratl::handle_pool_vs TFilePool; -TFilePool& Pool() +static TFilePool& Pool() { static TFilePool TFP; return TFP; diff --git a/code/Rufl/hstring.cpp b/code/Rufl/hstring.cpp index a00e7a1..e198411 100644 --- a/code/Rufl/hstring.cpp +++ b/code/Rufl/hstring.cpp @@ -43,7 +43,7 @@ typedef ratl::hash_pool TStrPool; -TStrPool& Pool() +static TStrPool& Pool() { static TStrPool TSP; return TSP;