Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/Internals/FixedPointAligner.cpp @ 1608:646e581e115b
replacing nullptr by NULL for VS2008 compatibility
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Oct 2020 22:21:06 +0100 |
parents | 874e178f34e9 |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1607:2df998314507 | 1608:646e581e115b |
---|---|
39 { | 39 { |
40 boost::shared_ptr<IViewport> viewport = viewport_.lock(); | 40 boost::shared_ptr<IViewport> viewport = viewport_.lock(); |
41 if (viewport) | 41 if (viewport) |
42 return viewport->Lock(); | 42 return viewport->Lock(); |
43 else | 43 else |
44 return nullptr; | 44 return NULL; |
45 } | 45 } |
46 | 46 |
47 void FixedPointAligner::Apply() | 47 void FixedPointAligner::Apply() |
48 { | 48 { |
49 std::unique_ptr<IViewport::ILock> lock(GetViewportLock()); | 49 std::unique_ptr<IViewport::ILock> lock(GetViewportLock()); |