Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_object.cc

    r17 r27  
    4040#include <map>
    4141
    42 #include "assert.h"
     42#include <cassert>
    4343#include "sc_object.h"
    4444//#include "sc_port.h"
     
    4646#include "sc_signal.h"
    4747#include "module_hierarchy.h"
     48#ifdef HAVE_CONFIG_H
     49#include "config.h"
     50#endif
    4851
    4952using namespace std;
     
    7174//    out += ".";
    7275  }
    73 //  ASSERT(name != NULL);
     76//  assert(name != NULL);
    7477  if (name)
    7578    out += name;
     
    203206{
    204207        object2name_t::iterator i = object2fullname.find (this);
    205 #ifdef DEBUG
     208#ifdef CONFIG_DEBUG
    206209        if (i == object2fullname.end ()) {
    207210                cerr << "Internal error : can't find name of " << this << "\n";
     
    217220/*
    218221        object2name_t::iterator i = object2fullname.find (this);
    219 #ifdef DEBUG
     222#ifdef CONFIG_DEBUG
    220223        if (i == object2fullname.end ()) {
    221224                cerr << "Internal error : can't find name of " << this << "\n";
     
    235238    string     out;
    236239    sc_object* obj = *it;
    237     ASSERT(obj != NULL);
     240    assert(obj != NULL);
    238241    build_full_name (out, *obj);
    239242  }
     
    243246{
    244247        object2infos_t::iterator i = object2infos.find (this);
    245 #ifdef DEBUG
     248#ifdef CONFIG_DEBUG
    246249        if (i == object2infos.end ()) {
    247250                cerr << "Internal error : can't find kind of " << this << "\n";
Note: See TracChangeset for help on using the changeset viewer.