From 56dce7587ed7a7104689509cb53d9d6ac1c9d237 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 8 May 2022 10:13:31 +0300 Subject: Autocommit at 08.05.2022 @ 10:13 --- src/Generic/Date/Date.cpp | 2 +- src/Generic/Date/Date.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Generic/Date') 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); -- cgit v1.3.1-26-gb76a