aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2015-12-01 15:20:35 +0100
committerPavel Janík <Pavel@Janik.cz>2015-12-02 08:40:47 +0100
commit1812de90915d002206148e7beae67d79d7a90e54 (patch)
tree7344e802841c6d519699a141be5e6e6fa2b58eac
parent16f4a6e0fe267e38d14f887e124ee9ca8894267a (diff)
Name union to prevent compiler warning
-rw-r--r--src/prevector.h2
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;