I added const qualifiers to bigg::Application's member functions. Specifically, I changed
bigg::Application::getWidth() to bigg::Application::getWidth() const
bigg::Application::getHeight() to bigg::Application::getHeight() const
I created a subclass derived from bigg::Application and I defined a member function in which getWidth() and getHeight() were used. I wanted to make the new member function const as it would not change anything, but it was not possible because getWidth() and getHeight() were not marked as const.
I am not aware of any disadvantages about not to mark member functions as const when applicable. However, please feel free to close (without merge) this PR if you intentionally dropped const qualifiers for some reasons.
I added
const
qualifiers tobigg::Application
's member functions. Specifically, I changedbigg::Application::getWidth()
tobigg::Application::getWidth() const
bigg::Application::getHeight()
tobigg::Application::getHeight() const
I created a subclass derived from
bigg::Application
and I defined a member function in whichgetWidth()
andgetHeight()
were used. I wanted to make the new member functionconst
as it would not change anything, but it was not possible becausegetWidth()
andgetHeight()
were not marked asconst
.I am not aware of any disadvantages about not to mark member functions as
const
when applicable. However, please feel free to close (without merge) this PR if you intentionally droppedconst
qualifiers for some reasons.Thank you for this very useful project.