src/core/trace-resolver.cc
changeset 1504 36ecc970ba96
parent 1399 5945e92014e2
child 2332 200875532591
equal deleted inserted replaced
1503:53dd8f414ba6 1504:36ecc970ba96
    17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    18  *
    18  *
    19  * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
    19  * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
    20  */
    20  */
    21 #include "trace-resolver.h"
    21 #include "trace-resolver.h"
    22 #include "debug.h"
    22 #include "log.h"
    23 
    23 
    24 NS_DEBUG_COMPONENT_DEFINE ("TraceResolver");
    24 NS_LOG_COMPONENT_DEFINE ("TraceResolver");
    25 
    25 
    26 namespace ns3 {
    26 namespace ns3 {
    27 
    27 
    28 TraceResolver::TraceResolver ()
    28 TraceResolver::TraceResolver ()
    29   : m_count (1)
    29   : m_count (1)
    41 TraceResolver::Unref (void)
    41 TraceResolver::Unref (void)
    42 {
    42 {
    43   m_count--;
    43   m_count--;
    44   if (m_count == 0)
    44   if (m_count == 0)
    45     {
    45     {
    46       NS_DEBUG ("delete "<<this);
    46       NS_LOG_LOGIC ("delete "<<this);
    47       delete this;
    47       delete this;
    48     }
    48     }
    49 }
    49 }
    50 
    50 
    51 std::string 
    51 std::string