-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update sonic-swss-common for compilation on Bookworm #825
Conversation
@@ -400,14 +400,14 @@ EventSubscriber::prune_track() | |||
map<time_t, vector<runtime_id_t> > lst; | |||
|
|||
/* Sort entries by last touched time */ | |||
for(const auto e: m_track) { | |||
for(const auto &e: m_track) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zbud-msft Could you help review events related code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zbud-msft Reminder for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This header file comes from an external package, and a very old version of the header file has been checked into this repo. This will cause problems for the upcoming Bookworm upgrade. Change references to the header file to use the Debian package nlohmann-json-dev, and remove json.hpp from this repo. Signed-off-by: Saikrishna Arcot <[email protected]>
Signed-off-by: Saikrishna Arcot <[email protected]>
Signed-off-by: Saikrishna Arcot <[email protected]>
Signed-off-by: Saikrishna Arcot <[email protected]>
189e25d
to
77452be
Compare
This PR includes the following two changes:
json.hpp
form thenlohmann-json-dev
package instead of having a local copy. This is because this version as-is now has compilation errors on Bookworm, and this file is coming from an external source.