Win32 compile fix (#warning)
This commit is contained in:
parent
573a6d6e97
commit
5e6f5506ec
1 changed files with 5 additions and 1 deletions
|
|
@ -47,7 +47,11 @@ vector<std::reference_wrapper<const typename Index::object_type>> database::sort
|
||||||
template<class... Types>
|
template<class... Types>
|
||||||
void database::perform_account_maintenance(std::tuple<Types...> helpers)
|
void database::perform_account_maintenance(std::tuple<Types...> helpers)
|
||||||
{
|
{
|
||||||
#warning switch to this for next release: const auto& idx = get_index_type<account_index>().indices().get<by_name>();
|
#ifdef _MSC_VER
|
||||||
|
# pragma message ("WARNING: switch to this for next release: const auto& idx = get_index_type<account_index>().indices().get<by_name>();")
|
||||||
|
#else
|
||||||
|
# warning switch to this for next release: const auto& idx = get_index_type<account_index>().indices().get<by_name>();
|
||||||
|
#endif
|
||||||
const auto& idx = get_index_type<account_index>().indices();
|
const auto& idx = get_index_type<account_index>().indices();
|
||||||
for( const account_object& a : idx )
|
for( const account_object& a : idx )
|
||||||
detail::for_each(helpers, a, detail::gen_seq<sizeof...(Types)>());
|
detail::for_each(helpers, a, detail::gen_seq<sizeof...(Types)>());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue