Skip to content

Commit

Permalink
Naming convention.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinH committed Jun 20, 2016
1 parent 4b067f4 commit 45da029
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions include/tao/json/traits.hh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace tao
namespace internal
{
template< template< typename ... > class Traits, typename T >
void unsafe_extract_number( const basic_value< Traits > & v, T & i )
void unchecked_extract_number( const basic_value< Traits > & v, T & i )
{
switch( v.type() ) {
case type::SIGNED:
Expand Down Expand Up @@ -87,7 +87,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, signed char & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -103,7 +103,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, unsigned char & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -119,7 +119,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, signed short & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -135,7 +135,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, unsigned short & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -151,7 +151,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, signed int & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -167,7 +167,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, unsigned int & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -183,7 +183,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, signed long & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -199,7 +199,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, unsigned long & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -215,7 +215,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, signed long long & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -231,7 +231,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, unsigned long long & i )
{
unsafe_extract_number( v, i );
unchecked_extract_number( v, i );
}
};

Expand All @@ -247,7 +247,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, float & f )
{
unsafe_extract_number( v, f );
unchecked_extract_number( v, f );
}
};

Expand All @@ -263,7 +263,7 @@ namespace tao
template< template< typename ... > class Traits >
static void extract( const basic_value< Traits > & v, double & f )
{
unsafe_extract_number( v, f );
unchecked_extract_number( v, f );
}
};

Expand Down

0 comments on commit 45da029

Please sign in to comment.