mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 22:24:35 +02:00
Make function const
This commit is contained in:
@@ -22,7 +22,7 @@ public:
|
||||
ZmqPulseReceiver(const std::vector<std::string>& ipc_urls, void* ctx);
|
||||
~ZmqPulseReceiver();
|
||||
|
||||
uint64_t get_next_pulse_id();
|
||||
uint64_t get_next_pulse_id() const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ void* ZmqPulseReceiver::connect_socket(const string url)
|
||||
return socket;
|
||||
}
|
||||
|
||||
uint64_t ZmqPulseReceiver::get_next_pulse_id()
|
||||
uint64_t ZmqPulseReceiver::get_next_pulse_id() const
|
||||
{
|
||||
uint64_t pulses[n_modules_];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user