moved explicit instantiation after definiting templated functions

This commit is contained in:
mazzol_a committed 2026-10-01 11:49:18 +02:00
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