mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-19 19:33:46 -04:00
@@ -168,6 +168,16 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
template <class... Args>
|
||||
ErrorInfo &FormatSolution(size_t index, Args... args)
|
||||
{
|
||||
if (index < solutions_.size()) {
|
||||
std::string &solution = solutions_[index];
|
||||
solution = FormatString(solution, std::forward<Args>(args)...);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
ErrorInfo &SetPosition(const std::string &position)
|
||||
{
|
||||
position_ = position;
|
||||
|
||||
Reference in New Issue
Block a user