mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-07-12 02:01:36 +00:00
refactor: use nullptr for null pointer literals
- replace `0` null pointer literals (e.g. `void* hint = 0`) with `nullptr` - clang-tidy modernize-use-nullptr https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-nullptr.html
This commit is contained in:
committed by
Dennis Klein
parent
b53d25738e
commit
8ab00ecddc
@@ -118,7 +118,10 @@ class TransportFactory final : public fair::mq::TransportFactory
|
||||
return std::make_unique<Message>(*fManager, data, size, ffn, hint, this);
|
||||
}
|
||||
|
||||
MessagePtr CreateMessage(UnmanagedRegionPtr& region, void* data, size_t size, void* hint = 0) override
|
||||
MessagePtr CreateMessage(UnmanagedRegionPtr& region,
|
||||
void* data,
|
||||
size_t size,
|
||||
void* hint = nullptr) override
|
||||
{
|
||||
return std::make_unique<Message>(*fManager, region, data, size, hint, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user