forked from qt-creator/qt-creator
TaskTree: Sync sources
Disambiguate args name. Some compilers complain about name shadowing. The issue has been discovered during integration of 9622a6121dd52480f4aeadcfdd6493bec1b02fe7. Change-Id: I3f9efb6e43c4f98f81cf5dd4f6684039d27f631a Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -194,8 +194,8 @@ public:
|
||||
#else // C++17
|
||||
template <typename ...Args>
|
||||
Storage(const Args &...args)
|
||||
: StorageBase([args = std::tuple(args...)] {
|
||||
return std::apply([](const Args &...args) { return new StorageStruct(args...); }, args);
|
||||
: StorageBase([argsTuple = std::tuple(args...)] {
|
||||
return std::apply([](const Args &...arguments) { return new StorageStruct(arguments...); }, argsTuple);
|
||||
}, Storage::dtor()) {}
|
||||
#endif
|
||||
StorageStruct &operator*() const noexcept { return *activeStorage(); }
|
||||
|
Reference in New Issue
Block a user