zpp-2022-rust-seastar / seastar-rs

Idiomatic Rust bindings to the Seastar framework
6 stars 3 forks source link

Add missing pragma directive in seastar/src/cxx_async_futures.hh #30

Closed kfernandez31 closed 1 year ago

kfernandez31 commented 1 year ago

We forgot to add it, so we'll do it now.

diff --git a/seastar/src/cxx_async_futures.hh b/seastar/src/cxx_async_futures.hh
index 33df3f8..cd0384e 100644
--- a/seastar/src/cxx_async_futures.hh
+++ b/seastar/src/cxx_async_futures.hh
@@ -1,3 +1,5 @@
+#pragma once
+
 #include "rust/cxx.h"
 #include "cxx-async/include/rust/cxx_async.h"
 #include "cxx-async/include/rust/cxx_async_seastar.h"
piodul commented 1 year ago

Done in https://github.com/zpp-2022-rust-seastar/seastar-rs/pull/31