From 674f0c2554d7063d7ebc5d0408c48f1bea1f97c0 Mon Sep 17 00:00:00 2001 From: alexandre burton Date: Thu, 28 Sep 2023 00:04:25 -0400 Subject: [PATCH] ofBuffer: deprecate getText() --- libs/openFrameworks/utils/ofFileUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openFrameworks/utils/ofFileUtils.h b/libs/openFrameworks/utils/ofFileUtils.h index 74aaa509002..bde0d243f72 100644 --- a/libs/openFrameworks/utils/ofFileUtils.h +++ b/libs/openFrameworks/utils/ofFileUtils.h @@ -111,7 +111,7 @@ class ofBuffer{ /// get the contents of the buffer as a string. /// /// \returns buffer contents as a string - std::string getText() const; + [[deprecated("use string() operator")]] std::string getText() const; /// Use buffer as a string via cast. ///