mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 06:37:20 +02:00
compatibility: Explicitly specify template type to support older compilers
This makes curret development branch buildable on Ubuntu 18 / Centos 7 / SUSE 15.
This commit is contained in:
parent
80490b625e
commit
fe6a6ca93b
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ std::vector <std::string> CmdContext::getContexts ()
|
||||||
contexts.insert (suffix);
|
contexts.insert (suffix);
|
||||||
}
|
}
|
||||||
|
|
||||||
return std::vector (contexts.begin (), contexts.end ());
|
return std::vector <std::string> (contexts.begin (), contexts.end ());
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue