fakhirsh / FEngine

Highly cross-platform Game Engine. Simple yet powerful Component based, data driven architecture.
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

Return smart pointer from StateManager's Get function #2

Open fakhirsh opened 9 years ago

fakhirsh commented 9 years ago

The StateManager's Get() function should return a smart pointer object instead of a naked pointer. i.e:

Change: Statemanager * Get()

To: StateManagerPtr Get();