zelenski/stanford-cpp-library

Add default constructor to `GRectangle`

Closed this issue · 1 comments

htiek commented

The GRectangle type currently has no default constructor, so it's not possible to declare a variable of type GRectangle without an initializer (e.g. GRectangle rect; does not compile). This is a consequence of this earlier commit that fixed a separate issue whereby GRectangle could be initialized to a double or without all the needed initializers.

Added in 51f1807