Remove duplicate std::filesystem::path hash function
Recent c++ std implementations now provide this (like they should've from the beginning...)
This commit is contained in:
parent
55fea3e31c
commit
94b83f4996
1 changed files with 0 additions and 9 deletions
|
@ -9,15 +9,6 @@
|
||||||
#include "asset_types.hpp"
|
#include "asset_types.hpp"
|
||||||
#include "string_utils.hpp"
|
#include "string_utils.hpp"
|
||||||
|
|
||||||
namespace std {
|
|
||||||
template <>
|
|
||||||
struct hash<prism::path> {
|
|
||||||
std::size_t operator()(const prism::path& k) const {
|
|
||||||
return (std::hash<std::string>()(k.string()));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
std::unique_ptr<T> load_asset(const prism::path& p);
|
std::unique_ptr<T> load_asset(const prism::path& p);
|
||||||
|
|
||||||
|
|
Reference in a new issue