Ignore:
Timestamp:
Mar 12, 2016, 6:39:43 PM (9 years ago)
Author:
[email protected]
Message:

Removed variable names from default constructor declarations.
https://bugs.webkit.org/show_bug.cgi?id=155397

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-03-12
Reviewed by Mark Lam.

They carry no information and generate unused variable warning with GCC
4.8 in a lot of source files.

  • parser/VariableEnvironment.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/VariableEnvironment.h

    r197915 r198076  
    8282        , m_isEverythingCaptured(other.m_isEverythingCaptured)
    8383    { }
    84     VariableEnvironment(const VariableEnvironment& other) = default;
    85     VariableEnvironment& operator=(const VariableEnvironment& other) = default;
     84    VariableEnvironment(const VariableEnvironment&) = default;
     85    VariableEnvironment& operator=(const VariableEnvironment&) = default;
    8686
    8787    ALWAYS_INLINE Map::iterator begin() { return m_map.begin(); }
Note: See TracChangeset for help on using the changeset viewer.