Skip to content

Commit b2d7582

Browse files
committed
libnetdutils: avoid deque<const T>
A container of const T uses std::allocator<const T>, which was an undocumented libc++ extension that has been removed. See llvm/llvm-project#96319. Bug: 349681543 Test: m libnetdutils Change-Id: I0b0eb07a6c95b4781ad04a82068bd33aef68e33b
1 parent f2315d0 commit b2d7582

File tree

1 file changed

+1
-1
lines changed
  • staticlibs/netd/libnetdutils/include/netdutils

1 file changed

+1
-1
lines changed

staticlibs/netd/libnetdutils/include/netdutils/Log.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class Log {
203203
void record(Level lvl, const std::string& entry);
204204

205205
mutable std::shared_mutex mLock;
206-
std::deque<const std::string> mEntries; // GUARDED_BY(mLock), when supported
206+
std::deque<std::string> mEntries; // GUARDED_BY(mLock), when supported
207207
};
208208

209209
} // namespace netdutils

0 commit comments

Comments
 (0)