Convert include guard to pragma once (#8957)

This commit is contained in:
Siyuan (Ryans) Zhuang
2020-06-16 01:29:43 -07:00
committed by GitHub
parent cb6f337372
commit b68fede30b
163 changed files with 177 additions and 620 deletions
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef RAY_MESSAGE_H
#define RAY_MESSAGE_H
#pragma once
#include <memory>
@@ -89,5 +88,3 @@ class StreamingMessage {
} // namespace streaming
} // namespace ray
#endif // RAY_MESSAGE_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef RAY_MESSAGE_BUNDLE_H
#define RAY_MESSAGE_BUNDLE_H
#pragma once
#include <ctime>
#include <list>
@@ -178,5 +177,3 @@ class StreamingMessageBundle : public StreamingMessageBundleMeta {
};
} // namespace streaming
} // namespace ray
#endif // RAY_MESSAGE_BUNDLE_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef RAY_PRIORITY_QUEUE_H
#define RAY_PRIORITY_QUEUE_H
#pragma once
#include <algorithm>
#include <memory>
@@ -49,5 +48,3 @@ class PriorityQueue {
};
} // namespace streaming
} // namespace ray
#endif // RAY_PRIORITY_QUEUE_H