const spam

This commit is contained in:
Adam D. Ruppe 2020-12-17 22:18:57 -05:00
parent 665c7037fe
commit 4a2fffe5e6
1 changed files with 2 additions and 2 deletions

View File

@ -1908,11 +1908,11 @@ class SimpleWindow : CapableOfHandlingNativeEvent, CapableOfBeingDrawnUpon {
/// Width of the window's drawable client area, in pixels.
@scriptable
final @property int width() { return _width; }
final @property int width() const pure nothrow @safe @nogc { return _width; }
/// Height of the window's drawable client area, in pixels.
@scriptable
final @property int height() { return _height; }
final @property int height() const pure nothrow @safe @nogc { return _height; }
private int _width;
private int _height;