Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/slang/slang-ir-validate.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ class [[nodiscard]] IRValidationScope
public:
// Constructor saves current state and sets new state
explicit IRValidationScope(bool enableValidation);

// Destructor automatically restores previous state
~IRValidationScope();

// Non-copyable to prevent accidental copies
IRValidationScope(const IRValidationScope&) = delete;
IRValidationScope& operator=(const IRValidationScope&) = delete;

// Non-movable to keep it simple
IRValidationScope(IRValidationScope&&) = delete;
IRValidationScope& operator=(IRValidationScope&&) = delete;
Expand Down
Loading