Update headers to use #pragma once

This commit is contained in:
Alexander Kremer
2022-11-23 17:46:31 +00:00
committed by Michael Legleux
parent 7bb567761c
commit bf217345ae
33 changed files with 35 additions and 143 deletions

View File

@@ -1,5 +1,4 @@
#ifndef CLIO_SUBSCRIPTION_MESSAGE_H
#define CLIO_SUBSCRIPTION_MESSAGE_H
#pragma once
#include <string>
@@ -36,5 +35,3 @@ public:
return message_.size();
}
};
#endif // CLIO_SUBSCRIPTION_MESSAGE_H

View File

@@ -1,5 +1,4 @@
#ifndef SUBSCRIPTION_MANAGER_H
#define SUBSCRIPTION_MANAGER_H
#pragma once
#include <backend/BackendInterface.h>
#include <config/Config.h>
@@ -285,5 +284,3 @@ private:
std::unordered_map<session_ptr, std::vector<CleanupFunction>>
cleanupFuncs_ = {};
};
#endif // SUBSCRIPTION_MANAGER_H