Skip to content

Commit

Permalink
Remove static keyword from THE_MAGIC_NAME_FOR_VIEWER in ViewerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
dpasukhi committed Nov 4, 2024
1 parent e6d3bf4 commit c0130c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ViewerTest/ViewerTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,8 @@ Standard_EXPORT Handle(AIS_InteractiveContext)& TheAISContext(){
return aContext;
}

static Handle(V3d_View) THE_MAGIC_NAME_FOR_VIEWER = nullptr;
Handle(V3d_View) THE_MAGIC_NAME_FOR_VIEWER = nullptr;

const Handle(V3d_View) ViewerTest::CurrentView()
{
Message::SendWarning() << "Getting current view to " << reinterpret_cast<size_t>(THE_MAGIC_NAME_FOR_VIEWER.get());
Expand Down

0 comments on commit c0130c4

Please sign in to comment.