]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_lib_frontend.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / rgw / rgw_lib_frontend.h
index 625952d335df0d9ca82efa222ac24b8d9904d698..1772724d218ed709307026ea4bcec02831a8cffb 100644 (file)
@@ -1,8 +1,7 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab ft=cpp
 
-#ifndef RGW_LIB_FRONTEND_H
-#define RGW_LIB_FRONTEND_H
+#pragma once
 
 #include <boost/container/flat_map.hpp>
 
@@ -25,9 +24,10 @@ namespace rgw {
     using unique_lock = std::unique_lock<std::mutex>;
 
   public:
-    RGWLibProcess(CephContext* cct, RGWProcessEnv* pe, int num_threads,
-                 RGWFrontendConfig* _conf) :
-      RGWProcess(cct, pe, num_threads, _conf), gen(0), shutdown(false) {}
+    RGWLibProcess(CephContext* cct, RGWProcessEnv& pe, int num_threads,
+                 std::string uri_prefix, RGWFrontendConfig* _conf) :
+      RGWProcess(cct, pe, num_threads, std::move(uri_prefix), _conf),
+      gen(0), shutdown(false) {}
 
     void run() override;
     void checkpoint();
@@ -111,5 +111,3 @@ namespace rgw {
   }; /* RGWLibFrontend */
 
 } /* namespace rgw */
-
-#endif /* RGW_LIB_FRONTEND_H */