From 61e5bcef2629e2d68b805a956a96fff264d4f74d Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 28 Jun 2025 01:59:49 +0500 Subject: Restructure dependencies and update to C++20 - Nuked static_assert from almost everywhere in the project - Nuked binary dependency support. Might add one later though - Separated dependency headers into a separate include subdirectory - Grafted a thirdpartylegalnotices.txt generator from RITEG - Pushed development snapshot version to 2126 (26th week of 2025) --- deps/include/entt/resource/loader.hpp | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 deps/include/entt/resource/loader.hpp (limited to 'deps/include/entt/resource/loader.hpp') diff --git a/deps/include/entt/resource/loader.hpp b/deps/include/entt/resource/loader.hpp deleted file mode 100644 index 6e12ff1..0000000 --- a/deps/include/entt/resource/loader.hpp +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef ENTT_RESOURCE_LOADER_HPP -#define ENTT_RESOURCE_LOADER_HPP - -#include -#include -#include "fwd.hpp" - -namespace entt { - -/** - * @brief Transparent loader for shared resources. - * @tparam Type Type of resources created by the loader. - */ -template -struct resource_loader { - /*! @brief Result type. */ - using result_type = std::shared_ptr; - - /** - * @brief Constructs a shared pointer to a resource from its arguments. - * @tparam Args Types of arguments to use to construct the resource. - * @param args Parameters to use to construct the resource. - * @return A shared pointer to a resource of the given type. - */ - template - result_type operator()(Args &&...args) const { - return std::make_shared(std::forward(args)...); - } -}; - -} // namespace entt - -#endif -- cgit