Added pragma once directive to Service
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include "Weather.h"
|
||||
|
||||
class Service {
|
||||
public:
|
||||
virtual ~Service() = default;
|
||||
|
||||
|
||||
virtual Weather getWeather(std::string s) = 0;
|
||||
};
|
||||
|
||||
@@ -5,4 +5,4 @@ class XmlService : public Service {
|
||||
public:
|
||||
virtual Weather getWeather(std::string s) override;
|
||||
virtual ~XmlService() {}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user