Jebbs / DSFML

DSFML is a D binding of SFML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All nested classes should be marked static

Jebbs opened this issue · comments

Nested classes without the static keyword include a reference to the instance that created them, and there can only be one instance of the nested class at a time.

This makes classes like HttpResponse rather useless if you can only get one response.

Marking all nested classes as static will fix this issue.