Add // NOLINTNEXTLINE to correct place
This commit is contained in:
parent
9c0c0a2d1c
commit
a10c254caa
src/query/v2
@ -88,7 +88,8 @@ ValidFramesModifier::Iterator ValidFramesModifier::end() {
|
||||
|
||||
ValidFramesConsumer::ValidFramesConsumer(MultiFrame &multiframe) : multiframe_(multiframe) {}
|
||||
|
||||
ValidFramesConsumer::~ValidFramesConsumer() {
|
||||
// NOLINTNEXTLINE (bugprone-exception-escape)
|
||||
ValidFramesConsumer::~ValidFramesConsumer() noexcept {
|
||||
// TODO Possible optimisation: only DefragmentValidFrames if one frame has been invalidated? Only if does not
|
||||
// cost too much to store it
|
||||
multiframe_.DefragmentValidFrames();
|
||||
|
@ -79,6 +79,7 @@ class MultiFrame {
|
||||
inline utils::MemoryResource *GetMemoryResource() { return frames_[0].GetMemoryResource(); }
|
||||
|
||||
private:
|
||||
// NOLINTNEXTLINE (bugprone-exception-escape)
|
||||
void DefragmentValidFrames() noexcept;
|
||||
|
||||
FrameWithValidity default_frame_;
|
||||
@ -185,7 +186,7 @@ class ValidFramesConsumer {
|
||||
public:
|
||||
explicit ValidFramesConsumer(MultiFrame &multiframe);
|
||||
|
||||
~ValidFramesConsumer();
|
||||
~ValidFramesConsumer() noexcept;
|
||||
ValidFramesConsumer(const ValidFramesConsumer &other) = delete; // copy constructor
|
||||
ValidFramesConsumer(ValidFramesConsumer &&other) noexcept = delete; // move constructor
|
||||
ValidFramesConsumer &operator=(const ValidFramesConsumer &other) = delete; // copy assignment
|
||||
|
Loading…
Reference in New Issue
Block a user