diff --git a/src/GafferUI/Pointer.cpp b/src/GafferUI/Pointer.cpp index f587f050d72..8daa1871dbb 100644 --- a/src/GafferUI/Pointer.cpp +++ b/src/GafferUI/Pointer.cpp @@ -42,6 +42,9 @@ using namespace GafferUI; +namespace +{ + static ConstPointerPtr g_current; using Registry = std::map; @@ -77,6 +80,8 @@ static Registry ®istry() return r; } +} // namespace + Pointer::Pointer( const IECoreImage::ImagePrimitive *image, const Imath::V2i &hotspot ) : m_image( image->copy() ), m_hotspot( hotspot ) {