Further fixes for new convenience functions.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2021-09-25 14:34:34 +02:00
parent b7c9944784
commit 73b2270fca
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
3 changed files with 6 additions and 3 deletions

View File

@ -154,7 +154,8 @@ namespace ArbUt {
/// @return A std::vector representation of the current list.
std::vector<ValueT>& GetStdList() noexcept { return _vector; }
inline List<ValueT>* GetListPointer() const { return this; }
inline const List<ValueT>* GetListPointer() const { return this; }
inline List<ValueT>* GetListPointer() { return this; }
};
}

View File

@ -145,7 +145,8 @@ namespace ArbUt {
/// @return A std::vector representation of the current list.
std::vector<ValueT*>& GetStdList() noexcept { return _vector; }
inline OptionalUniquePtrList<ValueT>* GetListPointer() const { return this; }
inline const OptionalUniquePtrList<ValueT>* GetListPointer() const { return this; }
inline OptionalUniquePtrList<ValueT>* GetListPointer() { return this; }
};
}

View File

@ -154,7 +154,8 @@ namespace ArbUt {
/// @return A std::vector representation of the current list.
std::vector<ValueT*>& GetStdList() noexcept { return _vector; }
inline UniquePtrList<ValueT>* GetListPointer() const { return this; }
inline const UniquePtrList<ValueT>* GetListPointer() const { return this; }
inline UniquePtrList<ValueT>* GetListPointer() { return this; }
};
}