src: portability updates

This commit is contained in:
Markus F.X.J. Oberhumer
2024-07-07 14:50:27 +02:00
parent 285472bc78
commit 16c8f6d160
21 changed files with 700 additions and 129 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ public: // raw access
pointer raw_bytes(size_t bytes) const {
assertInvariants();
if (bytes > 0) {
if __acc_cte (ptr == nullptr)
if very_unlikely (ptr == nullptr)
xspan_fail_nullptr();
}
return ptr;