diff options
-rw-r--r-- | lib/xray/xray_segmented_array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xray/xray_segmented_array.h b/lib/xray/xray_segmented_array.h index 018c2aa9e..11dd794fa 100644 --- a/lib/xray/xray_segmented_array.h +++ b/lib/xray/xray_segmented_array.h @@ -40,7 +40,7 @@ template <class T> class Array { // We want each segment of the array to be cache-line aligned, and elements of // the array be offset from the beginning of the segment. struct Segment : SegmentBase { - char Data[]; + char Data[1]; }; public: |