diff options
author | Neil <nyamatongwe@gmail.com> | 2018-05-24 09:24:44 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-05-24 09:24:44 +1000 |
commit | 9b2941ea45ed3de51c660008f75b8d15ce18cca5 (patch) | |
tree | 16df3f0e9077887d0294c909d6fe60d72a9213a2 /win32/PlatWin.h | |
parent | 083e04becbb7676dc1f699e81cff61490799e21b (diff) | |
download | scintilla-mirror-9b2941ea45ed3de51c660008f75b8d15ce18cca5.tar.gz |
Backport: Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
Backport of changeset 6974:e99161ef7bdd.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r-- | win32/PlatWin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h index bff73ae70..cf357f72d 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -13,7 +13,7 @@ namespace Scintilla { extern void Platform_Initialise(void *hInstance); extern void Platform_Finalise(bool fromDllMain); -RECT RectFromPRectangle(PRectangle prc); +RECT RectFromPRectangle(PRectangle prc) noexcept; #if defined(USE_D2D) extern bool LoadD2D(); |