mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
Use std::invoke (C++17 feature)
This commit is contained in:
@@ -174,7 +174,7 @@ namespace BlackMisc
|
||||
template <typename T, typename... Ts>
|
||||
decltype(auto) in(T &&object, Ts &&... args) const
|
||||
{
|
||||
return Private::invoke(m_ptr, std::forward<T>(object), std::forward<Ts>(args)...);
|
||||
return std::invoke(m_ptr, std::forward<T>(object), std::forward<Ts>(args)...);
|
||||
}
|
||||
|
||||
//! Return name as QLatin1String.
|
||||
|
||||
Reference in New Issue
Block a user