https://bugs.kde.org/show_bug.cgi?id=394055

Friedrich W. H. Kossebau <kosse...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kde
                   |                            |velop/6df7ff9882516f83883c8
                   |                            |11e7660a185c2e5727c
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Git commit 6df7ff9882516f83883c811e7660a185c2e5727c by Friedrich W. H.
Kossebau.
Committed on 20/07/2018 at 10:39.
Pushed by kossebau into branch 'master'.

Fix QStringBuilder taking reference to temporary due to auto

Summary:
Compiler decides for "auto" type result to use QStringBuilder, though the
expression passed to it includes a temporary QString result from a
QStringList::join() result. Which then is dropped after the assignement, due
to getting out of scope.

Reviewers: #kdevelop, shashwatdixit, mwolff, kfunk

Reviewed By: #kdevelop, kfunk

Subscribers: kfunk, kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D14235

M  +1    -1    plugins/clang/codecompletion/completionhelper.cpp

https://commits.kde.org/kdevelop/6df7ff9882516f83883c811e7660a185c2e5727c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to