Closed sercero closed 3 years ago
Removed instances of using namespace Ogre, using namespace OgreOggSound and using namespace std
but, why?
Hello @paroj, I understand that it might be a bit heavy handed but what I don't like is inconsistency.
The were classes where it was using namespace Ogre
and others not, even in the same class sometimes there was a using namespace Ogre
and then something with Ogre::
I think in general it is best to be explicit to avoid errors (that is why, for example, I'm not a fan of auto
although I recognise its usefullness sometimes).
Also:
using namespace Ogre
,using namespace OgreOggSound
andusing namespace std
std::string
withOgre::String
(for consistency, some places used it and others didn't)