Details
Details
Diff Detail
Diff Detail
- Repository
- R243 KArchive
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/krcc.cpp | ||
---|---|---|
147 | move to temp var to avoid detaching? |
src/krcc.cpp | ||
---|---|---|
147 | dir is const. Will it detach ? |
Comment Actions
Ah, no, you're right.
I remembered that there was a problem with function calls (rvalues) but that problem is not what I thought, it's the fact that one can't write qAsConst(myFunc()) (because the return value gets destroyed before it's used).
But if the rvalue is const already, no problem.