Использовать указатель this для доступа к защищенным членам
this
class Derived : public Base { protected: int d; public: void DoSomething(const Base& that) { this->b+=that.b; d=0; } };