Index: clang-rename/USRLocFinder.cpp =================================================================== --- clang-rename/USRLocFinder.cpp +++ clang-rename/USRLocFinder.cpp @@ -123,9 +123,9 @@ } // All the locations of the USR were found. - StringRef USR; + const std::string USR; // Old name that is renamed. - StringRef PrevName; + const std::string PrevName; std::vector LocationsFound; }; } // namespace