Ignore null-dereference warning

It is about
```
return result_type{ storageEntry.id, storageEntry.ref.relatedStorage };
```
but it isn't clear why the compiler thinks there's a problem.
This commit is contained in:
Martchus 2022-02-22 22:46:53 +01:00
parent 5c62014b3b
commit 9e15129d9d
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
// ignore warning about "return result_type{ storageEntry.id, storageEntry.ref.relatedStorage };"
#pragma GCC diagnostic ignored "-Wnull-dereference"
#include "./storageprivate.h"
#include <c++utilities/conversion/stringbuilder.h>