You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespace std; should not be used at all, instead we should use std:: everywhere.
This is to avoid conflicts with users who have custom implementations of string or vector for example.
namespace std;
should not be used at all, instead we should usestd::
everywhere.This is to avoid conflicts with users who have custom implementations of
string
orvector
for example.So all references like this should be removed
https://github.com/Rosalila/RosalilaEngine/blob/master/Rosalila.h#L5
And
std::
should be added everywere needed:https://github.com/Rosalila/RosalilaEngine/blob/master/RosalilaParser/RosalilaParser.cpp#L10
This line, for example should become
std::map<std::string,std::string> attributes;
.The text was updated successfully, but these errors were encountered: