mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 17:50:55 +08:00
Convert include guard to pragma once (#8957)
This commit is contained in:
committed by
GitHub
parent
cb6f337372
commit
b68fede30b
@@ -1,5 +1,4 @@
|
||||
#ifndef _STREAMING_QUEUE_MESSAGE_H_
|
||||
#define _STREAMING_QUEUE_MESSAGE_H_
|
||||
#pragma once
|
||||
|
||||
#include "protobuf/streaming_queue.pb.h"
|
||||
#include "ray/common/buffer.h"
|
||||
@@ -232,4 +231,3 @@ class TestCheckStatusRspMsg : public Message {
|
||||
|
||||
} // namespace streaming
|
||||
} // namespace ray
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _STREAMING_QUEUE_H_
|
||||
#define _STREAMING_QUEUE_H_
|
||||
#pragma once
|
||||
|
||||
#include <iterator>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
@@ -210,4 +210,3 @@ class ReaderQueue : public Queue {
|
||||
|
||||
} // namespace streaming
|
||||
} // namespace ray
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _STREAMING_QUEUE_CLIENT_H_
|
||||
#define _STREAMING_QUEUE_CLIENT_H_
|
||||
#pragma once
|
||||
|
||||
#include "queue_handler.h"
|
||||
#include "transport.h"
|
||||
|
||||
@@ -50,4 +50,3 @@ class WriterClient {
|
||||
};
|
||||
} // namespace streaming
|
||||
} // namespace ray
|
||||
#endif
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef _QUEUE_SERVICE_H_
|
||||
#define _QUEUE_SERVICE_H_
|
||||
#pragma once
|
||||
|
||||
#include <boost/asio.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
@@ -177,4 +176,3 @@ class DownstreamQueueMessageHandler : public QueueMessageHandler {
|
||||
|
||||
} // namespace streaming
|
||||
} // namespace ray
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _STREAMING_QUEUE_ITEM_H_
|
||||
#define _STREAMING_QUEUE_ITEM_H_
|
||||
#pragma once
|
||||
|
||||
#include <iterator>
|
||||
#include <list>
|
||||
#include <thread>
|
||||
@@ -106,4 +106,3 @@ typedef std::shared_ptr<QueueItem> QueueItemPtr;
|
||||
|
||||
} // namespace streaming
|
||||
} // namespace ray
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef _STREAMING_QUEUE_TRANSPORT_H_
|
||||
#define _STREAMING_QUEUE_TRANSPORT_H_
|
||||
#pragma once
|
||||
|
||||
#include "ray/common/id.h"
|
||||
#include "ray/core_worker/core_worker.h"
|
||||
@@ -66,4 +65,3 @@ class Transport {
|
||||
};
|
||||
} // namespace streaming
|
||||
} // namespace ray
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _STREAMING_QUEUE_UTILS_H_
|
||||
#define _STREAMING_QUEUE_UTILS_H_
|
||||
#pragma once
|
||||
|
||||
#include <chrono>
|
||||
#include <future>
|
||||
#include <thread>
|
||||
@@ -47,4 +47,3 @@ class PromiseWrapper {
|
||||
|
||||
} // namespace streaming
|
||||
} // namespace ray
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user