mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
StateWrapper: Add std::array overload
This commit is contained in:
parent
a48b856a62
commit
9ee8c0194e
|
@ -103,6 +103,12 @@ public:
|
|||
void Do(std::string* value_ptr);
|
||||
void Do(String* value_ptr);
|
||||
|
||||
template<typename T, size_t N>
|
||||
void Do(std::array<T, N>* data)
|
||||
{
|
||||
DoArray(data->data(), data->size());
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
void Do(std::vector<T>* data)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue