|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2007-08-20 09:50:30
Author: chris_kohlhoff
Date: 2007-08-20 09:50:30 EDT (Mon, 20 Aug 2007)
New Revision: 38782
URL: http://svn.boost.org/trac/boost/changeset/38782
Log:
Fix gcc warning about too few braces.
Text files modified:
trunk/libs/asio/test/buffer.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/asio/test/buffer.cpp
==============================================================================
--- trunk/libs/asio/test/buffer.cpp (original)
+++ trunk/libs/asio/test/buffer.cpp 2007-08-20 09:50:30 EDT (Mon, 20 Aug 2007)
@@ -39,7 +39,7 @@
const void* const_void_ptr_data = const_raw_data;
boost::array<char, 1024> array_data;
const boost::array<char, 1024>& const_array_data_1 = array_data;
- boost::array<const char, 1024> const_array_data_2 = { 0 };
+ boost::array<const char, 1024> const_array_data_2 = { { 0 } };
std::vector<char> vector_data(1024);
const std::vector<char>& const_vector_data = vector_data;
const std::string string_data(1024, ' ');
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk