D23035: Simplify ctors with default member initializer
Filip Gawin
noreply at phabricator.kde.org
Fri Aug 9 01:33:46 BST 2019
gawin created this revision.
gawin added a reviewer: Kate.
gawin added a project: Kate.
Herald added a subscriber: kwrite-devel.
gawin requested review of this revision.
REVISION SUMMARY
In my experience it has these advantages:
- harder type checks,
- allows to use `= default` ctor,
- simplify ctors.
// I hope this time, I've created "ok" diff.
REPOSITORY
R40 Kate
REVISION DETAIL
https://phabricator.kde.org/D23035
AFFECTED FILES
addons/backtracebrowser/btparser.h
addons/filebrowser/katefilebrowserconfig.cpp
addons/filebrowser/katefilebrowserconfig.h
addons/filetree/autotests/filetree_model_test.cpp
addons/filetree/katefiletreeconfigpage.cpp
addons/filetree/katefiletreeconfigpage.h
addons/filetree/katefiletreemodel.cpp
addons/gdbplugin/localsview.cpp
addons/gdbplugin/localsview.h
addons/kate-ctags/kate_ctags_plugin.cpp
addons/kate-ctags/kate_ctags_plugin.h
addons/katesql/sqlmanager.cpp
addons/katesql/sqlmanager.h
addons/lspclient/lspclientservermanager.cpp
addons/project/kateprojectcodeanalysistool.cpp
addons/project/kateprojectcodeanalysistool.h
addons/project/kateprojectconfigpage.cpp
addons/project/kateprojectconfigpage.h
addons/rustcompletion/kterustcompletion.h
addons/rustcompletion/kterustcompletionconfigpage.cpp
addons/rustcompletion/kterustcompletionconfigpage.h
addons/rustcompletion/kterustcompletionplugin.cpp
addons/rustcompletion/kterustcompletionplugin.h
addons/search/SearchDiskFiles.cpp
addons/search/SearchDiskFiles.h
addons/search/plugin_search.cpp
addons/search/plugin_search.h
addons/search/search_open_files.cpp
addons/search/search_open_files.h
addons/snippets/snippet.cpp
addons/snippets/snippet.h
addons/textfilter/plugin_katetextfilter.cpp
addons/textfilter/plugin_katetextfilter.h
kate/katedocmanager.h
kate/katemainwindow.h
kate/katemdi.cpp
kate/katemdi.h
kate/kateviewmanager.h
kwrite/kwrite.cpp
kwrite/kwrite.h
To: gawin, #kate
Cc: kwrite-devel, #kate, univerz, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190809/cafb77ea/attachment-0001.html>
More information about the KWrite-Devel
mailing list