@@ -3,7 +3,7 @@
* Company: Lynar Studios
* E-Mail: webmaster@lynarstudios.com
* Created: 2020-11-27
- * Changed: 2023-02-23
+ * Changed: 2023-05-15
*
* */
@@ -36,7 +36,7 @@ void DailyNewsAgency::clear()
this->news.clear();
}
-string DailyNewsAgency::getNews()
+string DailyNewsAgency::getNews() const
{
return this->news;
- * Changed: 2023-03-27
@@ -32,7 +32,7 @@ namespace test::event
// additional functionality
void clear();
- [[nodiscard]] ::std::string getNews();
+ [[nodiscard]] ::std::string getNews() const;
private: