From b0b8c0a5c94cbeb84137fd04e68dff714435d936 Mon Sep 17 00:00:00 2001 From: jeremy Date: Wed, 30 Nov 2022 16:49:32 +0100 Subject: [PATCH] Add noexcept to basic functions --- src/expr/interpret/frame.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/expr/interpret/frame.hpp b/src/expr/interpret/frame.hpp index 6a220b6a0..1bc5bba83 100644 --- a/src/expr/interpret/frame.hpp +++ b/src/expr/interpret/frame.hpp @@ -49,9 +49,9 @@ class FrameWithValidity final : public Frame { FrameWithValidity(int64_t size, utils::MemoryResource *memory) : Frame(size, memory), is_valid_(false) {} - bool IsValid() const { return is_valid_; } - void MakeValid() { is_valid_ = true; } - void MakeInvalid() { is_valid_ = false; } + bool IsValid() const noexcept { return is_valid_; } + void MakeValid() noexcept { is_valid_ = true; } + void MakeInvalid() noexcept { is_valid_ = false; } private: bool is_valid_;