This is Xcode perceives indentations after use of override:
class A:public Base{
public:
virtual void whoAmI()const override{
std::cout<<"A"<<std::endl;
}
};
class B:public Base{
public:
virtual void whoAmI()const override{
std::cout<<"B"<<std::endl;
}
};
This is how it automatically indents if override is removed:
class A:public Base{
public:
virtual void whoAmI()const {
std::cout<<"A"<<std::endl;
}
};
class B:public Base{
public:
virtual void whoAmI()const {
std::cout<<"B"<<std::endl;
}
};
I found one other issue reported about this, in Xcode 6, and I am using v7.
Has anyone seen this and how to fix it?
Aucun commentaire:
Enregistrer un commentaire