Skip to content

Commit

Permalink
Switch : Move static data to anonymous namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Dec 8, 2023
1 parent 3813ff4 commit f048478
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Gaffer/Switch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@
using namespace boost::placeholders;
using namespace Gaffer;

static IECore::InternedString g_inPlugsName( "in" );
static IECore::InternedString g_outPlugName( "out" );
namespace
{

const IECore::InternedString g_inPlugsName( "in" );
const IECore::InternedString g_outPlugName( "out" );

} // namespace

GAFFER_NODE_DEFINE_TYPE( Switch );

Expand Down

0 comments on commit f048478

Please sign in to comment.