In Blueprint the server can set a rep_notify variable and it will automatically execute the OnRep function. In C++ this is not the case. Server needs to explicitly call the OnRep function after setting the rep_notify variable.
You can do so via switch has authority (auth) → OnRep function.
Just FYI.