1.1 --- a/src/core/ref-count-base.cc Tue Jul 08 10:17:18 2008 -0700
1.2 +++ b/src/core/ref-count-base.cc Thu Nov 12 13:01:01 2009 +0100
1.3 @@ -1,52 +1,8 @@
1.4 -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
1.5 -/*
1.6 - * Copyright (c) 2007 Georgia Tech Research Corporation
1.7 - *
1.8 - * This program is free software; you can redistribute it and/or modify
1.9 - * it under the terms of the GNU General Public License version 2 as
1.10 - * published by the Free Software Foundation;
1.11 - *
1.12 - * This program is distributed in the hope that it will be useful,
1.13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.15 - * GNU General Public License for more details.
1.16 - *
1.17 - * You should have received a copy of the GNU General Public License
1.18 - * along with this program; if not, write to the Free Software
1.19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.20 - *
1.21 - * Author: George Riley <riley@ece.gatech.edu>
1.22 - * Adapted from original code in object.h by:
1.23 - * Authors: Gustavo Carneiro <gjcarneiro@gmail.com>,
1.24 - * Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
1.25 - */
1.26 -
1.27 #include "ref-count-base.h"
1.28
1.29 namespace ns3 {
1.30
1.31 -RefCountBase::RefCountBase()
1.32 - : m_count (1)
1.33 -{
1.34 -}
1.35 -
1.36 -RefCountBase::RefCountBase (const RefCountBase &o)
1.37 - : m_count (1)
1.38 +RefCountBase::~RefCountBase ()
1.39 {}
1.40 -RefCountBase &
1.41 -RefCountBase::operator = (const RefCountBase &o)
1.42 -{
1.43 - return *this;
1.44 -}
1.45 -
1.46 -RefCountBase::~RefCountBase ()
1.47 -{
1.48 -}
1.49 -
1.50 -uint32_t
1.51 -RefCountBase::GetReferenceCount (void) const
1.52 -{
1.53 - return m_count;
1.54 -}
1.55
1.56 } // namespace ns3