Ignore:
Timestamp:
06/09/18 08:21:52 (6 years ago)
Author:
Maciej Komosinski
Message:

Fixed clang's compiler forward declaration problem - not using ExtValue? in param.h (template moved to param.cpp)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/param.h

    r796 r805  
    291291        ExtValue getExtValue(int);
    292292
    293         template<typename T> void messageOnExceedRange(int i, int setflags, T valuetoset) ///< prints a warning when setflags indicates that allowed param range has been exceeded during set
    294         {
    295                 if (setflags & (PSET_HITMIN | PSET_HITMAX))
    296                 {
    297                         ExtValue v(valuetoset);
    298                         messageOnExceedRangeExtValue(i, setflags, v);
    299                 }
    300         }
    301         void messageOnExceedRangeExtValue(int i, int setflags, ExtValue& valuetoset); ///< used by messageOnExceedRange() internally
    302 
     293        void messageOnExceedRange(int i, int setflags, ExtValue& valuetoset);
    303294        int setInt(int, paInt);
    304295        int setDouble(int, double);
Note: See TracChangeset for help on using the changeset viewer.