Skip to content

Commit 7c55a71

Browse files
committed
nullptr -> 0
1 parent 80c227d commit 7c55a71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/photometric_calib/include/opencv2/photometric_calib/GammaRemover.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ class CV_EXPORTS GammaRemover
1919

2020
inline float* getG()
2121
{
22-
if(!validGamma) return nullptr;
22+
if(!validGamma) return 0;
2323
else return G;
2424
};
2525
inline float* getGInv()
2626
{
27-
if(!validGamma) return nullptr;
27+
if(!validGamma) return 0;
2828
else return GInv;
2929
};
3030

0 commit comments

Comments
 (0)