Fix type issues with string parameter structs

This commit is contained in:
Jonathan G Rennison
2023-11-09 15:49:54 +00:00
parent fe57f3a089
commit 48e700bc32
5 changed files with 5 additions and 16 deletions

View File

@@ -197,20 +197,6 @@ public:
}
};
/**
* Extension of StringParameters with its own statically allocated buffer for
* the parameters.
*/
class AllocatedStringParameters : public StringParameters {
std::vector<StringParameter> params; ///< The actual parameters
public:
AllocatedStringParameters(size_t parameters = 0) : params(parameters)
{
this->parameters = span(params.data(), params.size());
}
};
/**
* Extension of StringParameters with its own statically sized buffer for
* the parameters.