diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-23 17:28:53 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-23 17:28:53 +0100 |
| commit | 44d81cab1e376abc149e290226ef3915aa35ff74 (patch) | |
| tree | c21b455ef076277c7fddfacc6e261f5f81f143fb /CompilerKit/StdKit/String.cc | |
| parent | b7c27ed1b5e6fb48b3106f8eaffd415aa89ae6dc (diff) | |
Minor refactors.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerKit/StdKit/String.cc')
| -rw-r--r-- | CompilerKit/StdKit/String.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CompilerKit/StdKit/String.cc b/CompilerKit/StdKit/String.cc index bb0e3dd..45662ef 100644 --- a/CompilerKit/StdKit/String.cc +++ b/CompilerKit/StdKit/String.cc @@ -7,6 +7,17 @@ * ======================================================== */ +/** + * @file String.cc + * @author Amlal (amlal@mahrouss-logic.com) + * @brief String manipulation API. + * @version 0.1 + * @date 2024-01-23 + * + * @copyright Copyright (c) 2024 Mahrouss Logic + * + */ + #include "String.hpp" #include <utility> @@ -222,6 +233,7 @@ namespace CompilerKit StringView &StringView::operator+=(const StringView &rhs) { this->m_Data += rhs.CData(); + this->m_Cur = this->m_Data.size(); this->m_Sz = this->m_Data.size(); |
