Added missing std:: prefixes to all usages of size_t.

[SVN r36118]
This commit is contained in:
Andreas Huber
2006-11-20 18:15:25 +00:00
parent c01856ed26
commit 97eab8bc7c
3 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
//////////////////////////////////////////////////////////////////////////////
// (c) Copyright Andreas Huber Doenni 2002-2005
// (c) Copyright Andreas Huber Doenni 2002-2006
// Distributed under the Boost Software License, Version 1.0. (See accompany-
// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//////////////////////////////////////////////////////////////////////////////
@@ -7,7 +7,7 @@
//////////////////////////////////////////////////////////////////////////////
#define NO_OF_BITS 5
#define NO_OF_BITS 3
//////////////////////////////////////////////////////////////////////////////
// This program demonstrates the fact that measures must be taken to hide some
// of the complexity (e.g. in separate .cpp file) of a Boost.Statechart state
@@ -119,12 +119,12 @@ template< class StateNo >
struct BitState : sc::simple_state< BitState< StateNo >, BitMachine >,
UniqueObject< BitState< StateNo > >, IDisplay
{
void * operator new( size_t size )
void * operator new( std::size_t size )
{
return UniqueObject< BitState< StateNo > >::operator new( size );
}
void operator delete( void * p, size_t size )
void operator delete( void * p, std::size_t size )
{
UniqueObject< BitState< StateNo > >::operator delete( p, size );
}