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

            Bug ID: 400632
           Summary: Improve exception safety with smart pointers
           Product: frameworks-ktexteditor
           Version: 5.51.0
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: markus.elfr...@web.de
  Target Milestone: ---

Would you like to wrap any pointer data members with the class template
“std::unique_ptr” (or “QScopedPointer”)?

Update candidates:
* EditorPrivate
 
https://github.com/KDE/ktexteditor/blob/14aa5fbf3722d1aad90a26952a87551c9daede0a/src/utils/kateglobal.cpp#L80

* GlobalState
 
https://github.com/KDE/ktexteditor/blob/ac3c74dbc8a0b92f6e58993ce5744c5dec7912d6/src/vimode/globalstate.cpp#L34

* TextLoader
 
https://github.com/KDE/ktexteditor/blob/917e2109126daedf7f8b718ac4410d2f5bde37ac/src/buffer/katetextloader.h#L53

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

Reply via email to