Skip to content

Commit ca1c259

Browse files
committed
rgw/sal: move sal::Attrs alias to rgw_sal_fwd.h
Signed-off-by: Casey Bodley <[email protected]>
1 parent f97e90d commit ca1c259

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/rgw/rgw_sal.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,6 @@ struct TopicList {
263263
std::string next_marker;
264264
};
265265

266-
/** A list of key-value attributes */
267-
using Attrs = std::map<std::string, ceph::buffer::list>;
268-
269266
/**
270267
* @brief Base singleton representing a Store or Filter
271268
*

src/rgw/rgw_sal_fwd.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
#pragma once
1717

1818
#include <functional>
19+
#include <map>
1920
#include <string>
21+
#include "include/buffer_fwd.h"
2022

2123
namespace rgw {
2224
using AccessListFilter =
@@ -31,6 +33,9 @@ inline auto AccessListFilterPrefix(std::string prefix) {
3133

3234
namespace sal {
3335

36+
/** A list of key-value attributes */
37+
using Attrs = std::map<std::string, ceph::buffer::list>;
38+
3439
class Driver;
3540
class User;
3641
struct UserList;

0 commit comments

Comments
 (0)