actions: make askYesNoQuestion use NC::Window::prompt

This commit is contained in:
Andrzej Rybczak
2014-10-31 20:04:20 +01:00
parent cb578125cc
commit a8b46a8e47
6 changed files with 62 additions and 31 deletions

View File

@@ -91,7 +91,7 @@ public:
typedef std::set<Property> Properties;
template <typename... Args>
BasicBuffer(Args... args)
BasicBuffer(Args&&... args)
{
construct(std::forward<Args>(args)...);
}
@@ -190,7 +190,7 @@ public:
private:
void construct() { }
template <typename ArgT, typename... Args>
void construct(ArgT &&arg, Args... args)
void construct(ArgT &&arg, Args&&... args)
{
*this << std::forward<ArgT>(arg);
construct(std::forward<Args>(args)...);