C++ Advanced Judge Assignment Task2 - Register of Three
Здравейте,
Това са ми copy конструктора и copy assignment оператора
Register& Register::operator=(const Register& other)
{
    if (this != &other)
    {
        this->companiesArray = other.companiesArray;
        this->numAdded = other.numAdded;
    }
    return *this;
}
Register::Register(const Register& other) : companiesArray(other.companiesArray), numAdded(other.numAdded) {}
 
Програмта ми се чупи и връща Exception thrown: read access violation.
this was 0xBC1ECA00. когато стигне до реда return companyRegister.get(id);  в doRun метода, а това е мястото където отива 
if _ITERATOR_DEBUG_LEVEL == 2
    if (_Myproxy != nullptr)
        {    // proxy allocated, drain it
ред 216 във файла xutility, имате ли представа откъде може да идва тази грешка ?
Поздрави