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

Apply signature changes does not work for universal (rvalue) references

XMLWordPrintable

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

      If I change a function from

       
      DoSomething(QString VariableName);
      

      to

       
      DoSomething(QString&& VariableName);
      

      and then press ALT+Enter, "Apply signature changes" it results in

       
      DoSomething(QString& VariableName){...}
      

      in the implementation. The universal (rvalue) reference is turned into a lvalue reference.

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

            kosjar Nikolai Kosjar
            hardcodes.de Sven Putze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes