has one progress
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef MATADOR_COLLECTION_RESOLVER_HPP
|
||||
#define MATADOR_COLLECTION_RESOLVER_HPP
|
||||
|
||||
#include "matador/object/abstract_collection_resolver.hpp"
|
||||
#include "matador/object/abstract_joined_resolver.hpp"
|
||||
|
||||
#include <typeindex>
|
||||
#include <vector>
|
||||
@@ -12,10 +12,10 @@ class identifier;
|
||||
|
||||
namespace matador::object {
|
||||
template<typename Type>
|
||||
class collection_resolver : public abstract_collection_resolver {
|
||||
class collection_resolver : public abstract_joined_resolver {
|
||||
public:
|
||||
collection_resolver(const std::type_index& root_type, std::string collection_name)
|
||||
: abstract_collection_resolver(root_type, typeid(Type), std::move(collection_name)) {}
|
||||
: abstract_joined_resolver(root_type, typeid(Type), std::move(collection_name)) {}
|
||||
|
||||
virtual std::vector<Type> resolve(const utils::identifier& id) = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user