Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8192

Parameters in lambdas not recognized when renaming

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.7.0
    • C/C++/Obj-C++ Support
    • None

      When 'sss' is renamed the occurance in [&sss] is left out.

      void s()
      {
      std::vector<int> v;

      int sss = 1;
      std::find(v.begin(), v.end(),
      [&sss](Foo const& vx)->bool

      { auto l = (vx - sss); return l < 0.00001; }

      );

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            erikv Erik Verbruggen
            hjk hjk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes