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. --- sphere.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphere.h') diff --git a/sphere.h b/sphere.h index a5a935e..8cc1caf 100644 --- a/sphere.h +++ b/sphere.h @@ -39,7 +39,7 @@ public: return (where - center) / radius; } - class material &material() const override { + class material &get_material() const override { return materi; } -- cgit v1.2.3