diff options
Diffstat (limited to 'include/openvic-dataloader/detail/utility/ErrorRange.hpp')
-rw-r--r-- | include/openvic-dataloader/detail/utility/ErrorRange.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/openvic-dataloader/detail/utility/ErrorRange.hpp b/include/openvic-dataloader/detail/utility/ErrorRange.hpp index a427f6c..7d5ca13 100644 --- a/include/openvic-dataloader/detail/utility/ErrorRange.hpp +++ b/include/openvic-dataloader/detail/utility/ErrorRange.hpp @@ -2,10 +2,9 @@ #include <utility> -#include <openvic-dataloader/Error.hpp> - #include <dryad/node.hpp> namespace ovdl::detail { - using error_range = decltype(std::declval<const error::Root*>()->errors()); + template<typename ErrorRoot> + using error_range = decltype(std::declval<const ErrorRoot*>()->errors()); }
\ No newline at end of file |