physfs-cpp icon indicating copy to clipboard operation
physfs-cpp copied to clipboard

Use c-tor and d-tor for init and deinit

Open eXpl0it3r opened this issue 8 years ago • 0 comments

I'm aware that PhysicsFS runs sort of "globally" and can be implemented with just static functions, but wouldn't it make sense to bind the init and deinit to the constructor/destructor?

At least that way one wouldn't have to care about calling both functions and just creates an instance.

eXpl0it3r avatar Feb 11 '18 16:02 eXpl0it3r