Ignore:
Timestamp:
Jul 5, 2016, 9:10:16 PM (3 years ago)
Author:
cameron
Message:

Some changes recommended by cppcheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.cpp

    r5061 r5081  
    88        return mPb->NAME(arg); \
    99    } \
    10     inline PabloAST * operator()(PabloAST * arg, const std::string name) { \
     10    inline PabloAST * operator()(PabloAST * arg, const std::string & name) { \
    1111        return mPb->NAME(arg, name); \
    1212    } \
     
    2323        return mPb->NAME(arg1, arg2); \
    2424    } \
    25     inline PabloAST * operator()(PabloAST * arg1, PabloAST * arg2, const std::string name) { \
     25    inline PabloAST * operator()(PabloAST * arg1, PabloAST * arg2, const std::string & name) { \
    2626        return mPb->NAME(arg1, arg2, name); \
    2727    } \
     
    3939        return mPb->NAME(arg1, arg2, arg3); \
    4040    } \
    41     inline PabloAST * operator()(PabloAST * arg1, PabloAST * arg2, PabloAST * arg3, const std::string name) { \
     41    inline PabloAST * operator()(PabloAST * arg1, PabloAST * arg2, PabloAST * arg3, const std::string & name) { \
    4242        return mPb->NAME(arg1, arg2, arg3, name); \
    4343    } \
Note: See TracChangeset for help on using the changeset viewer.