From 197951159b59ee336a4be21dc09fd936102eb8cc Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 20 Feb 2023 15:59:03 +0100 Subject: [PATCH] Cleanup: Mark overriden virtual call as such Fixes the `-Winconsistent-missing-override` warning. In theory the `virtual` is redundant in such case, but this is how it is done in may other areas of USD code. --- source/blender/io/usd/intern/usd_reader_shape.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/io/usd/intern/usd_reader_shape.h b/source/blender/io/usd/intern/usd_reader_shape.h index b6135f31b2f..0af79a22d93 100644 --- a/source/blender/io/usd/intern/usd_reader_shape.h +++ b/source/blender/io/usd/intern/usd_reader_shape.h @@ -53,7 +53,8 @@ class USDShapeReader : public USDGeomReader { const char ** /*err_str*/) override; bool is_time_varying(); - virtual bool topology_changed(const Mesh * /*existing_mesh*/, double /*motionSampleTime*/) + virtual bool topology_changed(const Mesh * /*existing_mesh*/, + double /*motionSampleTime*/) override { return false; }; -- 2.30.2