Changeset 839 for cpp


Ignore:
Timestamp:
12/06/18 02:53:06 (6 years ago)
Author:
Maciej Komosinski
Message:

Added extern template declarations for UserTags? reg[N] static members

Location:
cpp/frams/model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/modelparts.cpp

    r743 r839  
    2929#endif
    3030
    31 template<>
    32 char ModelUserTags::reg[5] = { 0 };
     31template<> char ModelUserTags::reg[5] = { 0 };
    3332
    3433/////////////////////////
  • cpp/frams/model/modelparts.h

    r738 r839  
    2525
    2626typedef UserTags<Model, void*, 5> ModelUserTags;
     27extern template char ModelUserTags::reg[5];
    2728
    2829/** Common base for model elements. */
Note: See TracChangeset for help on using the changeset viewer.