From 0c62caf7bc1d9e732b0ea3b3e24ab3fa624b6181 Mon Sep 17 00:00:00 2001 From: homodeluna <1402692684@qq.com> Date: Thu, 15 Aug 2024 20:28:43 +0800 Subject: [PATCH] removed user redefinition of std::hash --- src/cmake_project/impl/cprj_project_impl.hpp | 2 -- src/fs/impl/memory/fs_memory_file_system.hpp | 2 -- .../impl/mi_analyzer_context.hpp | 2 -- src/model_includes/impl/mi_model_impl.hpp | 2 -- src/project/impl/prj_project_impl.hpp | 1 - src/tools/std_hash_fs_path.hpp | 18 ------------------ 6 files changed, 27 deletions(-) delete mode 100644 src/tools/std_hash_fs_path.hpp diff --git a/src/cmake_project/impl/cprj_project_impl.hpp b/src/cmake_project/impl/cprj_project_impl.hpp index 2fa3716..5c17a43 100644 --- a/src/cmake_project/impl/cprj_project_impl.hpp +++ b/src/cmake_project/impl/cprj_project_impl.hpp @@ -2,8 +2,6 @@ #include "cmake_project/api/cprj_project.hpp" -#include "tools/std_hash_fs_path.hpp" - #include #include #include diff --git a/src/fs/impl/memory/fs_memory_file_system.hpp b/src/fs/impl/memory/fs_memory_file_system.hpp index 000fbd2..82431c4 100644 --- a/src/fs/impl/memory/fs_memory_file_system.hpp +++ b/src/fs/impl/memory/fs_memory_file_system.hpp @@ -1,8 +1,6 @@ #pragma once #include "fs/api/fs_file_system.hpp" -#include "tools/std_hash_fs_path.hpp" - #include //------------------------------------------------------------------------------ diff --git a/src/model_includes/impl/mi_analyzer_context.hpp b/src/model_includes/impl/mi_analyzer_context.hpp index 37c53d7..2264377 100644 --- a/src/model_includes/impl/mi_analyzer_context.hpp +++ b/src/model_includes/impl/mi_analyzer_context.hpp @@ -1,7 +1,5 @@ #pragma once -#include "tools/std_hash_fs_path.hpp" - #include #include diff --git a/src/model_includes/impl/mi_model_impl.hpp b/src/model_includes/impl/mi_model_impl.hpp index 15ba7de..6b43d71 100644 --- a/src/model_includes/impl/mi_model_impl.hpp +++ b/src/model_includes/impl/mi_model_impl.hpp @@ -4,8 +4,6 @@ #include "model_includes/api/mi_include.hpp" -#include "tools/std_hash_fs_path.hpp" - #include #include diff --git a/src/project/impl/prj_project_impl.hpp b/src/project/impl/prj_project_impl.hpp index 80f58d6..1cdb791 100644 --- a/src/project/impl/prj_project_impl.hpp +++ b/src/project/impl/prj_project_impl.hpp @@ -3,7 +3,6 @@ #include "project/api/prj_project.hpp" #include "tools/regex.hpp" -#include "tools/std_hash_fs_path.hpp" #include #include diff --git a/src/tools/std_hash_fs_path.hpp b/src/tools/std_hash_fs_path.hpp deleted file mode 100644 index 7fd9237..0000000 --- a/src/tools/std_hash_fs_path.hpp +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#include - -//------------------------------------------------------------------------------ - -namespace std -{ -template<> struct hash< stdfs::path > -{ - std::size_t operator()( const stdfs::path & _file ) const noexcept - { - return stdfs::hash_value( _file ); - } -}; -} - -//------------------------------------------------------------------------------ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy