diff options
| author | Neil <nyamatongwe@gmail.com> | 2023-10-06 12:31:52 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2023-10-06 12:31:52 +1100 |
| commit | f51f9797cb8591870d13d1d7d0c5d4d7d009a7ea (patch) | |
| tree | 220f18f70ac4abb9f1265d7b2a26e4fcd03c391b /src/CallTip.cxx | |
| parent | 084c9f68be3dd5a0253fe7ead4efaf3cca0bb19a (diff) | |
| download | scintilla-mirror-f51f9797cb8591870d13d1d7d0c5d4d7d009a7ea.tar.gz | |
Fix COPY_INSTEAD_OF_MOVE performance warnings from Coverity.
Diffstat (limited to 'src/CallTip.cxx')
| -rw-r--r-- | src/CallTip.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx index eea592489..87a2bab06 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -272,7 +272,7 @@ void CallTip::MouseClick(Point pt) noexcept { } PRectangle CallTip::CallTipStart(Sci::Position pos, Point pt, int textHeight, const char *defn, - int codePage_, Surface *surfaceMeasure, std::shared_ptr<Font> font_) { + int codePage_, Surface *surfaceMeasure, const std::shared_ptr<Font> &font_) { clickPlace = 0; val = defn; codePage = codePage_; |
