diff --git a/src/prevector.h b/src/prevector.h index 3e80ef5d336..8992e305b34 100644 --- a/src/prevector.h +++ b/src/prevector.h @@ -140,7 +140,7 @@ public: private: size_type _size; - union { + union direct_or_indirect { char direct[sizeof(T) * N]; struct { size_type capacity;