Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73527 - trunk/libs/locale/test
From: artyomtnk_at_[hidden]
Date: 2011-08-04 09:27:22


Author: artyom
Date: 2011-08-04 09:27:21 EDT (Thu, 04 Aug 2011)
New Revision: 73527
URL: http://svn.boost.org/trac/boost/changeset/73527

Log:
Fixed incorrect use of "empty" utfXX_t

Text files modified:
   trunk/libs/locale/test/test_utf.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/locale/test/test_utf.cpp
==============================================================================
--- trunk/libs/locale/test/test_utf.cpp (original)
+++ trunk/libs/locale/test/test_utf.cpp 2011-08-04 09:27:21 EDT (Thu, 04 Aug 2011)
@@ -42,7 +42,7 @@
 
 boost::uint32_t const *u32_seq(boost::uint32_t a)
 {
- static uint32_t buf[2];
+ static boost::uint32_t buf[2];
     buf[0]=a;
     buf[1]=0;
     return buf;
@@ -50,7 +50,7 @@
 
 boost::uint16_t const *u16_seq(boost::uint16_t a)
 {
- static uint16_t buf[2];
+ static boost::uint16_t buf[2];
     buf[0]=a;
     buf[1]=0;
     return buf;
@@ -58,7 +58,7 @@
 
 boost::uint16_t const *u16_seq(boost::uint16_t a,boost::uint16_t b)
 {
- static uint16_t buf[3];
+ static boost::uint16_t buf[3];
     buf[0]=a;
     buf[1]=b;
     buf[2]=0;


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