mirror of
https://github.com/boostorg/statechart.git
synced 2026-01-22 17:52:16 +00:00
Added missing std:: prefixes to all usages of size_t.
[SVN r36118]
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user