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

filesystem::path gets converted to filesystem::__cxx11::path when using "apply changes to definition"

    XMLWordPrintable

Details

    • Linux/X11

    Description

      With a member function like this:

      void foo(const QString& filename);

      When changing it to:

      void foo(const std::filesystem::path& filename);

      and then clicking the light bulb that appears and selecting "Apply changes to definition", the function definition in the implementation cpp file gets converted to:

      MyClass::foo(const std::filesystem::__cxx11::path& filename)

      This only happens if `filename` is a reference type. If it's a value type, it works correctly (meaning you get `std::filesystem::path`, not `std::filesystem::__cxx11::path`.)

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            realnc Nikos Chantziaras
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes