[Bf-blender-cvs] [61c8bc949ee] cycles-x: Cleanup: Don't use virtual for non-virtual function in Cycles X

Sergey Sharybin noreply at git.blender.org
Wed Sep 1 15:16:08 CEST 2021


Commit: 61c8bc949eed73519afe28db6e24df0e97003126
Author: Sergey Sharybin
Date:   Wed Sep 1 15:13:21 2021 +0200
Branches: cycles-x
https://developer.blender.org/rB61c8bc949eed73519afe28db6e24df0e97003126

Cleanup: Don't use virtual for non-virtual function in Cycles X

===================================================================

M	intern/cycles/integrator/path_trace_work.h

===================================================================

diff --git a/intern/cycles/integrator/path_trace_work.h b/intern/cycles/integrator/path_trace_work.h
index d770ac6e59d..f4f528b19ed 100644
--- a/intern/cycles/integrator/path_trace_work.h
+++ b/intern/cycles/integrator/path_trace_work.h
@@ -150,7 +150,7 @@ class PathTraceWork {
                 DeviceScene *device_scene,
                 bool *cancel_requested_flag);
 
-  virtual PassAccessor::PassAccessInfo get_display_pass_access_info(PassMode pass_mode) const;
+  PassAccessor::PassAccessInfo get_display_pass_access_info(PassMode pass_mode) const;
 
   /* Device which will be used for path tracing.
    * Note that it is an actual render device (and never is a multi-device). */



More information about the Bf-blender-cvs mailing list