diff options
| author | Daniel Kraft <[email protected]> | 2018-07-17 12:36:22 +0200 |
|---|---|---|
| committer | Daniel Kraft <[email protected]> | 2020-09-07 10:55:55 +0200 |
| commit | 7f2ad1b9acef4ccc1b3e1a9f551416235d95cbfd (patch) | |
| tree | 196d1e6dcae168a705e4af1739473485bd6794a3 /src/validationinterface.cpp | |
| parent | Simplify and fix notifier removal on error. (diff) | |
| download | discoin-7f2ad1b9acef4ccc1b3e1a9f551416235d95cbfd.tar.xz discoin-7f2ad1b9acef4ccc1b3e1a9f551416235d95cbfd.zip | |
Use std::unique_ptr for CZMQNotifierFactory.
Instead of returning a raw pointer from CZMQNotifierFactory and
implicitly requiring the caller to know that it has to take ownership,
return a std::unique_ptr to make this explicit.
This also changes the typedef for CZMQNotifierFactory to use the new
C++11 using syntax, which makes it (a little) less cryptic.
Diffstat (limited to 'src/validationinterface.cpp')
0 files changed, 0 insertions, 0 deletions