diff options
| author | mitchell <unknown> | 2020-03-27 14:01:45 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2020-03-27 14:01:45 -0400 |
| commit | 85de753ec1b1f9f636e8e061505785fd94847a53 (patch) | |
| tree | d3dba1f0c60ad8f0d4b278c8ee812dc61a6916ad /gtk/ScintillaGTK.h | |
| parent | 11a47fc9bb6ec03fcc4ddb1ed9be15512fa56675 (diff) | |
| download | scintilla-mirror-85de753ec1b1f9f636e8e061505785fd94847a53.tar.gz | |
Backport: Use dynamic_cast and assertion to make bugs more obvious.
Use noexcept, namespace, const, constexpr, and static inline where reasonable.
Avoid warnings in initializations.
Backport of changeset 8014:5e621040222d.
Diffstat (limited to 'gtk/ScintillaGTK.h')
| -rwxr-xr-x | gtk/ScintillaGTK.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h index 516115acc..ed2513a3f 100755 --- a/gtk/ScintillaGTK.h +++ b/gtk/ScintillaGTK.h @@ -78,7 +78,7 @@ public: ScintillaGTK &operator=(const ScintillaGTK &) = delete; ScintillaGTK &operator=(ScintillaGTK &&) = delete; virtual ~ScintillaGTK(); - static ScintillaGTK *FromWidget(GtkWidget *widget); + static ScintillaGTK *FromWidget(GtkWidget *widget) noexcept; static void ClassInit(OBJECT_CLASS *object_class, GtkWidgetClass *widget_class, GtkContainerClass *container_class); private: void Init(); |
