Skip to content
Snippets Groups Projects
Commit a73fc4b4 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Add private tool to SvcWithTool example

parent 27905625
No related branches found
No related tags found
No related merge requests found
Pipeline #3261391 passed with warnings
/***********************************************************************************\ /***********************************************************************************\
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations * * (c) Copyright 1998-2021 CERN for the benefit of the LHCb and ATLAS collaborations *
* * * *
* This software is distributed under the terms of the Apache version 2 licence, * * This software is distributed under the terms of the Apache version 2 licence, *
* copied verbatim in the file "LICENSE". * * copied verbatim in the file "LICENSE". *
...@@ -22,6 +22,7 @@ namespace GaudiTesting { ...@@ -22,6 +22,7 @@ namespace GaudiTesting {
private: private:
PublicToolHandle<IMyTool> m_tool{this, "MyTool", "MyTool"}; PublicToolHandle<IMyTool> m_tool{this, "MyTool", "MyTool"};
ToolHandle<IMyTool> m_privTool{this, "MyPrivateTool", ""};
}; };
DECLARE_COMPONENT( SvcWithTool ) DECLARE_COMPONENT( SvcWithTool )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment