diff options
author | Arvid Norberg <arvid@blockstream.io> | 2018-09-13 10:36:41 -0700 |
---|---|---|
committer | Arvid Norberg <arvid@blockstream.io> | 2018-09-13 10:36:41 -0700 |
commit | 3ccfa34b32b7ed9d7bef05baa36827b4b262197e (patch) | |
tree | f8a24afd1e7d6949040aff1e177b8adf7bc84f83 /src/qt/bitcoin.cpp | |
parent | f0a6a922fe64c16829649281f182dc8c5e153333 (diff) |
convert C-style (void) parameter lists to C++ style ()
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 87282a961f..1e950e2686 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -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 |