From 4cefc96fafa587ae4f80a3c3524bd24eac3b0c8b Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Mon, 6 Sep 2021 00:35:47 +0300 Subject: [PATCH] Fix recursive call that could cause infinite loop. Introduced by an earlier commit. --- module/Library/IO/Buffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Library/IO/Buffer.hpp b/module/Library/IO/Buffer.hpp index 67fa60a8..30c9d3d2 100644 --- a/module/Library/IO/Buffer.hpp +++ b/module/Library/IO/Buffer.hpp @@ -178,7 +178,7 @@ public: */ Buffer & Valid() const { - Valid(); + Validate(); // Return the buffer return *m_Buffer; }