diff --git a/libraries/chain/db_maint.cpp b/libraries/chain/db_maint.cpp index 91b9ec02..2d533353 100644 --- a/libraries/chain/db_maint.cpp +++ b/libraries/chain/db_maint.cpp @@ -47,7 +47,11 @@ vector> database::sort template void database::perform_account_maintenance(std::tuple helpers) { -#warning switch to this for next release: const auto& idx = get_index_type().indices().get(); +#ifdef _MSC_VER +# pragma message ("WARNING: switch to this for next release: const auto& idx = get_index_type().indices().get();") +#else +# warning switch to this for next release: const auto& idx = get_index_type().indices().get(); +#endif const auto& idx = get_index_type().indices(); for( const account_object& a : idx ) detail::for_each(helpers, a, detail::gen_seq());