Cleanup: fix compiler warnings.
[blender.git] / intern / cycles / bvh / bvh2.h
index f38cdf5aca9310dc18f0bebb162e492a2d79738d..6afa6c217969af20233899907a2d837eb73a94bd 100644 (file)
@@ -52,7 +52,7 @@ protected:
        virtual BVHNode *widen_children_nodes(const BVHNode *root) override;
 
        /* pack */
        virtual BVHNode *widen_children_nodes(const BVHNode *root) override;
 
        /* pack */
-       void pack_nodes(const BVHNode *root);
+       void pack_nodes(const BVHNode *root) override;
 
        void pack_leaf(const BVHStackEntry& e,
                       const LeafNode *leaf);
 
        void pack_leaf(const BVHStackEntry& e,
                       const LeafNode *leaf);
@@ -81,7 +81,7 @@ protected:
                                 uint visibility0, uint visibility1);
 
        /* refit */
                                 uint visibility0, uint visibility1);
 
        /* refit */
-       void refit_nodes();
+       void refit_nodes() override;
        void refit_node(int idx, bool leaf, BoundBox& bbox, uint& visibility);
 };
 
        void refit_node(int idx, bool leaf, BoundBox& bbox, uint& visibility);
 };