diff options
Autocommit at 08.05.2022 @ 10:13
2 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | src/Generic/Date/Date.cpp | 2 | ||||
| -rw-r--r-- | src/Generic/Date/Date.h | 2 |
diff --git a/src/Generic/Date/Date.cpp b/src/Generic/Date/Date.cpp index db2551a..0507b21 100644 --- a/src/Generic/Date/Date.cpp +++ b/src/Generic/Date/Date.cpp @@ -70,7 +70,7 @@ int digitToChar(unsigned digit) { return ' '; } -String Date::createCStr() { +String Date::createString() const { String out; return ((((out += day) += ".") += month) += ".") += year; } diff --git a/src/Generic/Date/Date.h b/src/Generic/Date/Date.h index a960678..78aca2e 100644 --- a/src/Generic/Date/Date.h +++ b/src/Generic/Date/Date.h @@ -25,7 +25,7 @@ public: unsigned short get_year() const; bool set_year(unsigned short year); - String createCStr(); + String createString() const; void read(std::istream& istr); void write(std::ostream& ostr); |
