2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 18:52:26 +00:00

Manual layout fixes, remove tab characters

[SVN r20937]
This commit is contained in:
Raoul Gough
2003-11-24 14:34:11 +00:00
parent 3c65122e1d
commit 182d9e9447

View File

@@ -61,7 +61,7 @@ inline int compare (int_wrapper const &lhs, int_wrapper const &rhs);
int_wrapper::int_wrapper ()
: m_obj_number (our_object_counter++),
m_int (0)
m_int (0)
{
if (our_trace_flag)
{
@@ -71,28 +71,28 @@ int_wrapper::int_wrapper ()
int_wrapper::int_wrapper (int i)
: m_obj_number (our_object_counter++),
m_int (i)
m_int (i)
{
if (our_trace_flag)
{
printf ("int_wrapper %u (%d) at %p\n",
m_obj_number,
m_int
, this);
m_int,
this);
}
}
int_wrapper::int_wrapper (int_wrapper const &other)
: m_obj_number (our_object_counter++),
m_int (other.m_int)
m_int (other.m_int)
{
if (our_trace_flag)
{
printf ("int_wrapper %u (int_wrapper %u at %p) at %p\n",
m_obj_number,
other.m_obj_number
, &other
, this);
other.m_obj_number,
&other,
this);
}
}
@@ -101,10 +101,10 @@ int_wrapper &int_wrapper::operator= (int_wrapper const &other)
if (our_trace_flag)
{
printf ("int_wrapper %u at %p = int_wrapper %u at %p\n",
m_obj_number
, this,
other.m_obj_number
, &other);
m_obj_number,
this,
other.m_obj_number,
&other);
}
m_int = other.m_int;
@@ -181,11 +181,11 @@ namespace std {
void swap (int_wrapper &first, int_wrapper &second) {
if (int_wrapper::our_trace_flag)
{
printf ("std::swap (int_wrapper %u at %p, int_wrapper %u at %p)\n"
, first.m_obj_number
, &first
, second.m_obj_number
, &second);
printf ("std::swap (int_wrapper %u at %p, int_wrapper %u at %p)\n",
first.m_obj_number,
&first,
second.m_obj_number,
&second);
}
swap (first.m_int, second.m_int); // Don't swap object numbers