diff --git a/Jupiter/Reference_String_Imp.h b/Jupiter/Reference_String_Imp.h index 4e31f49..cfd5bc1 100644 --- a/Jupiter/Reference_String_Imp.h +++ b/Jupiter/Reference_String_Imp.h @@ -92,16 +92,16 @@ template size_t Jupiter::Reference_String::truncate(size_t n) template size_t Jupiter::Reference_String::shiftLeft(size_t len) { - Jupiter::String_Type::str -= len; - Jupiter::String_Type::length += len; + Jupiter::Reference_String::str -= len; + Jupiter::Reference_String::length += len; return len; } template size_t Jupiter::Reference_String::shiftRight(size_t len) { - if (len > Jupiter::String_Type::length) len = Jupiter::String_Type::length; - Jupiter::String_Type::str += len; - Jupiter::String_Type::length -= len; + if (len > Jupiter::Reference_String::length) len = Jupiter::Reference_String::length; + Jupiter::Reference_String::str += len; + Jupiter::Reference_String::length -= len; return len; }