Changeset 1140


Ignore:
Timestamp:
Feb 6, 2012, 4:48:05 PM (8 years ago)
Author:
sam
Message:

math: fix a syntax error in vector.h due to duplicate macro declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/math/vector.h

    r1139 r1140  
    911911    }
    912912
    913 #define DECLARE_ALL_GLOBAL_OPS(tname, tprefix, T) \
     913#define DECLARE_OTHER_GLOBAL_OPS(tname, tprefix, T) \
    914914    DECLARE_SCALAR_OP(tname, *, tprefix, T) \
    915915    DECLARE_SCALAR_OP(tname, /, tprefix, T) \
     
    963963
    964964#define DECLARE_GLOBAL_TEMPLATE_OPS(tname) \
    965     DECLARE_ALL_GLOBAL_OPS(tname, template<typename T>, T)
     965    DECLARE_OTHER_GLOBAL_OPS(tname, template<typename T>, T)
    966966
    967967#define DECLARE_ALL_GLOBAL_OPS(tname, tprefix, T) \
     
    969969    DECLARE_VECTOR_OP(tname, /, tprefix, T) \
    970970    \
    971     DECLARE_ALL_GLOBAL_OPS(tname, tprefix, T) \
     971    DECLARE_OTHER_GLOBAL_OPS(tname, tprefix, T) \
    972972    \
    973973    DECLARE_BOOL_OP(tname, <=, <=, true, tprefix, T) \
     
    10031003#undef DECLARE_BOOL_OP
    10041004#undef DECLARE_SCALAR_OP
    1005 #undef DECLARE_ALL_GLOBAL_OPS
     1005#undef DECLARE_GLOBAL_OPS
    10061006#undef DECLARE_GLOBAL_TEMPLATE_OPS
    10071007#undef DECLARE_ALL_GLOBAL_OPS
Note: See TracChangeset for help on using the changeset viewer.