Changeset 8316a49


Ignore:
Timestamp:
Aug 6, 2018, 10:48:20 AM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
d7d63e5
Parents:
f47d0ad
Message:

Remove unnecessary lambda capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Demangle.cc

    rf47d0ad r8316a49  
    359359                                // basic types
    360360                                for (size_t k = 0; k < BasicType::NUMBER_OF_BASIC_TYPES; ++k) {
    361                                         parsers.emplace_back(Encoding::basicTypes[k], [this, k](Type::Qualifiers tq) {
     361                                        parsers.emplace_back(Encoding::basicTypes[k], [k](Type::Qualifiers tq) {
    362362                                                PRINT( std::cerr << "basic type: " << k << std::endl; )
    363363                                                return new BasicType(tq, (BasicType::Kind)k);
Note: See TracChangeset for help on using the changeset viewer.