From 26d353966a72c8de343dcdc9ce94b7fe5d82f003 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 29 Dec 2024 14:57:03 +1100 Subject: add operator!= to Primitive_Id --- video.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/video.hpp b/video.hpp index 1ccc93d..523ded6 100644 --- a/video.hpp +++ b/video.hpp @@ -23,6 +23,9 @@ struct Primitive_Id { bool operator==(Primitive_Id other) const { return index == other.index; } + bool operator!=(Primitive_Id other) const { + return index != other.index; + } operator bool() const { return index != 0; } -- cgit v1.2.3-54-g00ecf