File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
include/srsran/phy/support Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,8 @@ class shared_resource_grid
6969 release ();
7070
7171 // Overwrite with the other grid.
72- pool = other.pool ;
73- ref_count = other.ref_count ;
74- identifier = other.identifier ;
72+ pool = other.pool ;
73+ ref_count = other.ref_count ;
7574
7675 // Invalidate the other grid.
7776 other.pool = nullptr ;
@@ -150,7 +149,7 @@ class shared_resource_grid
150149private:
151150 // / Copy constructor is explicit to avoid copying unintentionally.
152151 explicit shared_resource_grid (const shared_resource_grid& other) noexcept :
153- pool(other.pool), ref_count(other.ref_count), identifier(other.identifier)
152+ pool(other.pool), ref_count(other.ref_count)
154153 {
155154 if (is_valid ()) {
156155 inc_ref_count ();
@@ -170,8 +169,6 @@ class shared_resource_grid
170169 pool_interface* pool = nullptr ;
171170 // / Reference counter. Set to \c nullptr for invalid resource grid.
172171 std::atomic<unsigned >* ref_count = nullptr ;
173- // / Resource grid identifier within the resource grid pool.
174- unsigned identifier = 0 ;
175172};
176173
177174} // namespace srsran
You can’t perform that action at this time.
0 commit comments