Skip to content

Commit b1d2ac8

Browse files
authored
fix windows warnings (#489)
Signed-off-by: Ian Chen <[email protected]>
1 parent a49ebcf commit b1d2ac8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/ignition/rendering/base/BaseCamera.hh

+1-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ namespace ignition
810810

811811
//////////////////////////////////////////////////
812812
template <class T>
813-
void BaseCamera<T>::RenderTextureMetalId(void */*_textureIdPtr*/) const
813+
void BaseCamera<T>::RenderTextureMetalId(void *) const
814814
{
815815
ignerr << "RenderTextureMetalId is not supported by current render"
816816
<< " engine" << std::endl;

include/ignition/rendering/base/BaseRenderTarget.hh

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ namespace ignition
296296

297297
//////////////////////////////////////////////////
298298
template <class T>
299-
void BaseRenderTexture<T>::MetalId(void */*_textureIdPtr*/) const
299+
void BaseRenderTexture<T>::MetalId(void *) const
300300
{
301301
}
302302

0 commit comments

Comments
 (0)