mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-18 17:24:04 +01:00
moved explicit instantiation after definiting templated functions
This commit is contained in:
1 parent
54ad7c8665
commit
29295d3ff6
1 file changed
+5
-3
@@ -5,9 +5,6 @@
|
||||
|
||||
namespace sls {
|
||||
|
||||
template class DetectorServerImpl<true>; // forward declare
|
||||
template class DetectorServerImpl<false>; // forward declare
|
||||
|
||||
template <bool isStopServer>
|
||||
DetectorServerImpl<isStopServer>::DetectorServerImpl() {
|
||||
udpDetails[0].srcport = DEFAULT_UDP_SRC_PORTNO;
|
||||
@@ -114,4 +111,9 @@ DetectorServerImpl<isStopServer>::get_detector_setup_status() const {
|
||||
return detectorSetupStatus;
|
||||
}
|
||||
|
||||
template class DetectorServerImpl<true>; // explicit instantiation for stop
|
||||
// server
|
||||
template class DetectorServerImpl<false>; // explicit instantiation for control
|
||||
// server
|
||||
|
||||
} // namespace sls
|
||||
Reference in new issue
Block a user