convert C-style (void) parameter lists to C++ style ()

This commit is contained in:
Arvid Norberg
2018-09-13 10:36:41 -07:00
parent f0a6a922fe
commit 3ccfa34b32
16 changed files with 27 additions and 27 deletions

View File

@@ -586,7 +586,7 @@ int main(int argc, char *argv[])
// Need to pass name here as CAmount is a typedef (see http://qt-project.org/doc/qt-5/qmetatype.html#qRegisterMetaType)
// IMPORTANT if it is no longer a typedef use the normal variant above
qRegisterMetaType< CAmount >("CAmount");
qRegisterMetaType< std::function<void(void)> >("std::function<void(void)>");
qRegisterMetaType< std::function<void()> >("std::function<void()>");
#ifdef ENABLE_WALLET
qRegisterMetaType<WalletModel*>("WalletModel*");
#endif