mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-15 17:31:56 +00:00
fix build with clang 3.4.1 #19
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
#include <cstddef>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <list>
|
#include <list>
|
||||||
@@ -27,11 +28,11 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
friend inline bool operator==(const ResourceWrapper& lhs, nullptr_t) noexcept {
|
friend inline bool operator==(const ResourceWrapper& lhs, std::nullptr_t) noexcept {
|
||||||
return !lhs.p_;
|
return !lhs.p_;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend inline bool operator!=(const ResourceWrapper& lhs, nullptr_t) noexcept {
|
friend inline bool operator!=(const ResourceWrapper& lhs, std::nullptr_t) noexcept {
|
||||||
return !!lhs.p_;
|
return !!lhs.p_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user