fix issue of fold expressions test(#320,#321)
This commit is contained in:
@@ -255,7 +255,11 @@ namespace nana
|
||||
bool show_modal(Args&& ... args)
|
||||
{
|
||||
std::vector<abstract_content*> contents;
|
||||
#ifdef __cpp_fold_expressions
|
||||
(contents.emplace_back(&args), ...);
|
||||
#else
|
||||
_m_fetch_args(contents, std::forward<Args>(args)...);
|
||||
#endif
|
||||
|
||||
if (contents.empty())
|
||||
return false;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* An Implementation of i18n
|
||||
* Nana C++ Library(http://www.nanapro.org)
|
||||
* Copyright(C) 2003-2016 Jinhao(cnjinhao@hotmail.com)
|
||||
* Copyright(C) 2003-2018 Jinhao(cnjinhao@hotmail.com)
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0.
|
||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||
|
||||
Reference in New Issue
Block a user