diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-09-07 12:35:12 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-09-07 12:35:12 +0800 |
commit | b5b8cea52366115f474c6d00f88fa5e6e72c1705 (patch) | |
tree | 2ea917aa2068634060a6af464a28c8fa6bdfca99 /include/cru/base/ClonablePtr.h | |
parent | a0403d95bea3e3a3eaedf71a0d9c6d4e1316bd8c (diff) | |
download | cru-b5b8cea52366115f474c6d00f88fa5e6e72c1705.tar.gz cru-b5b8cea52366115f474c6d00f88fa5e6e72c1705.tar.bz2 cru-b5b8cea52366115f474c6d00f88fa5e6e72c1705.zip |
std::nullptr_t and remove Format.h in logger.
Diffstat (limited to 'include/cru/base/ClonablePtr.h')
-rw-r--r-- | include/cru/base/ClonablePtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/base/ClonablePtr.h b/include/cru/base/ClonablePtr.h index a2a88758..1198315f 100644 --- a/include/cru/base/ClonablePtr.h +++ b/include/cru/base/ClonablePtr.h @@ -103,7 +103,7 @@ class ClonablePtr { } } - int Compare(nullptr_t) const noexcept { return ptr_ ? 1 : 0; } + int Compare(std::nullptr_t) const noexcept { return ptr_ ? 1 : 0; } private: std::unique_ptr<element_type> ptr_; |