NewsAgency.cpp 479 B

123456789101112131415161718192021222324
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-27
  6. * Changed: 2023-02-23
  7. *
  8. * */
  9. #include "NewsAgency.hpp"
  10. using std::move;
  11. using std::string;
  12. using test::event::NewsAgency;
  13. NewsAgency::NewsAgency(string _agencyName) : agencyName(::move(_agencyName))
  14. {}
  15. NewsAgency::~NewsAgency() = default;
  16. string NewsAgency::getName()
  17. {
  18. return this->agencyName;
  19. }