Skip to content

Commit

Permalink
Add override declarations to virtual functions
Browse files Browse the repository at this point in the history
These were flagged as warnings by clang 13 since the other
virtual functions in these classes were marked as overrides.

This is part of PR #1684 from @charlesfleche

(Internal change: 2262989)
  • Loading branch information
sunyab authored and pixar-oss committed Feb 16, 2023
1 parent 3ad71b9 commit 1754a91
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pxr/usdImaging/usdImaging/capsuleAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class UsdImagingCapsuleAdapter : public UsdImagingGprimAdapter {
USDIMAGING_API
HdDirtyBits ProcessPropertyChange(UsdPrim const& prim,
SdfPath const& cachePath,
TfToken const& propertyName);
TfToken const& propertyName) override;

// ---------------------------------------------------------------------- //
/// \name Parallel Setup and Resolve
Expand Down
2 changes: 1 addition & 1 deletion pxr/usdImaging/usdImaging/coneAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class UsdImagingConeAdapter : public UsdImagingGprimAdapter {
USDIMAGING_API
HdDirtyBits ProcessPropertyChange(UsdPrim const& prim,
SdfPath const& cachePath,
TfToken const& propertyName);
TfToken const& propertyName) override;

// ---------------------------------------------------------------------- //
/// \name Parallel Setup and Resolve
Expand Down
2 changes: 1 addition & 1 deletion pxr/usdImaging/usdImaging/cubeAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class UsdImagingCubeAdapter : public UsdImagingGprimAdapter {
USDIMAGING_API
HdDirtyBits ProcessPropertyChange(UsdPrim const& prim,
SdfPath const& cachePath,
TfToken const& propertyName);
TfToken const& propertyName) override;

// ---------------------------------------------------------------------- //
/// \name Parallel Setup and Resolve
Expand Down
2 changes: 1 addition & 1 deletion pxr/usdImaging/usdImaging/cylinderAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class UsdImagingCylinderAdapter : public UsdImagingGprimAdapter {
USDIMAGING_API
HdDirtyBits ProcessPropertyChange(UsdPrim const& prim,
SdfPath const& cachePath,
TfToken const& propertyName);
TfToken const& propertyName) override;

// ---------------------------------------------------------------------- //
/// \name Parallel Setup and Resolve
Expand Down
2 changes: 1 addition & 1 deletion pxr/usdImaging/usdImaging/nurbsCurvesAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class UsdImagingNurbsCurvesAdapter : public UsdImagingGprimAdapter
USDIMAGING_API
HdDirtyBits ProcessPropertyChange(UsdPrim const& prim,
SdfPath const& cachePath,
TfToken const& propertyName);
TfToken const& propertyName) override;

// ---------------------------------------------------------------------- //
/// \name Data access
Expand Down
4 changes: 2 additions & 2 deletions pxr/usdImaging/usdImaging/planeAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class UsdImagingPlaneAdapter : public UsdImagingGprimAdapter {
USDIMAGING_API
HdDirtyBits ProcessPropertyChange(UsdPrim const& prim,
SdfPath const& cachePath,
TfToken const& propertyName);
TfToken const& propertyName) override;

// ---------------------------------------------------------------------- //
/// \name Parallel Setup and Resolve
Expand Down Expand Up @@ -105,4 +105,4 @@ class UsdImagingPlaneAdapter : public UsdImagingGprimAdapter {

PXR_NAMESPACE_CLOSE_SCOPE

#endif // PXR_USD_IMAGING_USD_IMAGING_PLANE_ADAPTER_H
#endif // PXR_USD_IMAGING_USD_IMAGING_PLANE_ADAPTER_H

0 comments on commit 1754a91

Please sign in to comment.