Supress warnings in array

[SVN r53105]
This commit is contained in:
Steven Watanabe
2009-05-19 03:00:53 +00:00
parent 9cf5e0c9a1
commit 471bc9bf06
3 changed files with 7 additions and 7 deletions

View File

@ -27,7 +27,7 @@ int main()
typedef boost::array<float,6> Array;
// create and initialize an array
const Array a = { { 42.42 } };
const Array a = { { 42.42f } };
// use some common STL container operations
std::cout << "static_size: " << a.size() << std::endl;