Changeset 46 for sources


Ignore:
Timestamp:
Sep 22, 2009, 2:55:56 PM (15 years ago)
Author:
nipo
Message:

Make namespace usage correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_module_ext.h

    r45 r46  
    160160
    161161#define SC_MODULE(user_module_name) \
    162         struct user_module_name : sc_core::sc_module
     162        struct user_module_name : public sc_core::sc_module
    163163
    164164// the SC_HAS_PROCESS macro call must be followed by a ;
     
    168168#define SC_CTOR(user_module_name)                                \
    169169   SC_HAS_PROCESS(user_module_name);                             \
    170    user_module_name(sc_module_name)
     170   user_module_name(sc_core::sc_module_name)
    171171
    172172/* Converting `void (module_tag::*)()' to `void (sc_module::*)()' is OK as
Note: See TracChangeset for help on using the changeset viewer.