diff options
author | Pavel Janík <Pavel@Janik.cz> | 2015-12-01 15:20:35 +0100 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2015-12-02 08:40:47 +0100 |
commit | 1812de90915d002206148e7beae67d79d7a90e54 (patch) | |
tree | 7344e802841c6d519699a141be5e6e6fa2b58eac /src | |
parent | 16f4a6e0fe267e38d14f887e124ee9ca8894267a (diff) |
Name union to prevent compiler warning
Diffstat (limited to 'src')
-rw-r--r-- | src/prevector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prevector.h b/src/prevector.h index 3e80ef5d33..8992e305b3 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; |