Skip to content

Commit daaf862

Browse files
authored
nullptr_t -> std::nullptr_t
1 parent bd25692 commit daaf862

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

claujson.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ namespace claujson {
428428
}
429429
}
430430

431-
StructuredPtr(nullptr_t) : arr(nullptr), type(0) {
431+
StructuredPtr(std::nullptr_t) : arr(nullptr), type(0) {
432432
//
433433
}
434434
StructuredPtr(Array* arr) : arr(arr), type(1)
@@ -525,16 +525,16 @@ namespace claujson {
525525
void erase(uint64_t idx, bool real = false);
526526
void erase(const _Value& key, bool real = false);
527527

528-
bool operator==(nullptr_t) {
528+
bool operator==(std::nullptr_t) {
529529
return !arr;
530530
}
531531
bool operator==(StructuredPtr p) {
532532
return arr == p.arr && type == p.type;
533533
}
534-
bool operator!=(nullptr_t) {
534+
bool operator!=(std::nullptr_t) {
535535
return arr;
536536
}
537-
void operator=(nullptr_t) {
537+
void operator=(std::nullptr_t) {
538538
arr = nullptr;
539539
type = 0;
540540
}

0 commit comments

Comments
 (0)