Added pragma once directive to Service

This commit is contained in:
2026-04-21 11:12:19 +03:00
parent bde893a905
commit 0a46003741
2 changed files with 3 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
#pragma once
#include <string>
#include "Weather.h"
class Service {
public:
virtual ~Service() = default;
virtual Weather getWeather(std::string s) = 0;
};

View File

@@ -5,4 +5,4 @@ class XmlService : public Service {
public:
virtual Weather getWeather(std::string s) override;
virtual ~XmlService() {}
};
};