mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 01:24:51 +02:00
fix static assert error message
This commit is contained in:
parent
f6fbc14f5a
commit
04e7b8cd02
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public:
|
|||
}
|
||||
|
||||
template<typename U> qint64 writePrimitive(const U& data) {
|
||||
static_assert(!std::is_pointer<U>::value, "T must not be a pointer");
|
||||
static_assert(!std::is_pointer<U>::value, "U must not be a pointer");
|
||||
return QIODevice::write(reinterpret_cast<const char*>(&data), sizeof(U));
|
||||
}
|
||||
protected:
|
||||
|
|
Loading…
Reference in a new issue