diff options
author | Albert Astals Cid <aacid@kde.org> | 2019-10-30 19:23:26 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2019-10-30 19:23:34 +0100 |
commit | ee72e7e7916d9b166403c74fd3eb8e874176106e (patch) | |
tree | c80a397ab5793414b92a2dec21ea28afa2e45f05 /src/core/kconfig.cpp | |
parent | 80bf4c029e4cce085497f018193f0b7551f9e744 (diff) | |
download | kconfig-ee72e7e7916d9b166403c74fd3eb8e874176106e.tar.gz kconfig-ee72e7e7916d9b166403c74fd3eb8e874176106e.tar.bz2 |
kconfig_compiler: Move the KSharedConfig::Ptr when using them
Summary:
The generated classes of kconfig_compiler take a KSharedConfig::Ptr by
value, one possibility would be to make them const & but that is BIC so
instead what we do is just move them to the only place the config is
used so the cheaper move constructor can be used instead of the copy
constructor
Reviewers: ervin, apol
Reviewed By: ervin, apol
Subscribers: kde-frameworks-devel, ervin, apol
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D25061
Diffstat (limited to 'src/core/kconfig.cpp')
0 files changed, 0 insertions, 0 deletions