D23351: Simplify ctors with default member initializer

Filip Gawin noreply at phabricator.kde.org
Thu Aug 22 16:38:27 BST 2019


gawin created this revision.
Herald added a project: Kate.
Herald added a subscriber: kwrite-devel.
gawin requested review of this revision.

REVISION SUMMARY
  Moves values into header, making it's easier to read variable's
  default state. Also compiler checks types more carefully.

TEST PLAN
  If it compiles, then it should be ok.
  Code doesn't change behavior.

REPOSITORY
  R40 Kate

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23351

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
Cc: kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190822/6b308a05/attachment.html>


More information about the KWrite-Devel mailing list