Skip to content

Commit

Permalink
Pointer : Move private stuff to anonymous namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Mar 8, 2024
1 parent 2bb3e03 commit 5c059d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/GafferUI/Pointer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@

using namespace GafferUI;

namespace
{

static ConstPointerPtr g_current;

using Registry = std::map<std::string, ConstPointerPtr>;
Expand Down Expand Up @@ -77,6 +80,8 @@ static Registry &registry()
return r;
}

} // namespace

Pointer::Pointer( const IECoreImage::ImagePrimitive *image, const Imath::V2i &hotspot )
: m_image( image->copy() ), m_hotspot( hotspot )
{
Expand Down

0 comments on commit 5c059d6

Please sign in to comment.