Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: ca53cef4647f049b7365a51417e23ec858756a0b
https://github.com/Checkmk/checkmk/commit/ca53cef4647f049b7365a51417e23ec85…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2023-12-18 (Mon, 18 Dec 2023)
Changed paths:
M packages/livestatus/include/livestatus/InputBuffer.h
M packages/livestatus/include/livestatus/ParsedQuery.h
M packages/livestatus/include/livestatus/Store.h
M packages/livestatus/src/InputBuffer.cc
M packages/livestatus/src/ParsedQuery.cc
M packages/livestatus/src/Store.cc
M packages/neb/include/neb/NebCore.h
M packages/neb/src/NebCore.cc
M packages/neb/test/test_CrashReport.cc
Log Message:
-----------
Use std::vector instead of std::list in public APIs.
No fundamental technical reason for this, just consistency:
We use std::vector basically for all sequences at basically
all other places.
In addition, improve Store.h's typing: The buffered lines
are actually a queue, not a list. And they never contain
an empty line, so we could simplify things a tiny bit.
Change-Id: I04d61031971adc049b8b860be77a57dc9c11670f