mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Use more concise stdlib type aliases
This commit is contained in:
parent
21d87c02c2
commit
7c14c1fcd7
36 changed files with 438 additions and 494 deletions
|
|
@ -159,7 +159,7 @@ private:
|
|||
template <typename Func>
|
||||
static std::unique_ptr<Command<Proc>> makeCommand (Func&& func)
|
||||
{
|
||||
using Decayed = typename std::decay<Func>::type;
|
||||
using Decayed = std::decay_t<Func>;
|
||||
return std::make_unique<TemplateCommand<Proc, Decayed>> (std::forward<Func> (func));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue