We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64a93f3 commit 978902fCopy full SHA for 978902f
2 files changed
DataFormats/MemoryResources/include/MemoryResources/MemoryResources.h
@@ -163,7 +163,7 @@ class SpectatorMemoryResource : public boost::container::pmr::memory_resource
163
{
164
if (p == mPointer) {
165
mBuffer.reset();
166
- mPointer = 0;
+ mPointer = nullptr;
167
} else if (mPointer == nullptr) {
168
// there is an error in the logic flow, this should never be called more than once
169
throw std::logic_error("underlying controlled resource has been released already");
run/O2SimDeviceRunner.cxx
@@ -23,7 +23,7 @@
23
#include <sys/wait.h>
24
#include <pthread.h> // to set cpu affinity
25
#include <cmath>
26
-#include <signal.h>
+#include <csignal>
27
#include <unistd.h>
28
29
#include "rapidjson/document.h"
0 commit comments