summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-04-17 20:50:22 +0800
committerKeuin <[email protected]>2022-04-17 20:50:22 +0800
commitee3b665441b2f83041416098049cc16b6b63d942 (patch)
tree261e5b5ab15e4ec7add1489bbe2d5e8dd42524b6 /object.h
parentbf1bfa34d5ad0e41379179fb9d2dfe0e2cb372f6 (diff)
Fix: rename object::material() to object::get_material. Make it compile on Debian 11 GCC.
Diffstat (limited to 'object.h')
-rw-r--r--object.h2
1 files changed, 1 insertions, 1 deletions
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;
};