From ee3b665441b2f83041416098049cc16b6b63d942 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sun, 17 Apr 2022 20:50:22 +0800 Subject: Fix: rename object::material() to object::get_material. Make it compile on Debian 11 GCC. --- object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'object.h') diff --git a/object.h b/object.h index c679d83..7f35237 100644 --- a/object.h +++ b/object.h @@ -41,7 +41,7 @@ public: virtual ~object() = default; // Get this object's material. - virtual material &material() const = 0; + virtual material &get_material() const = 0; }; -- cgit v1.2.3