mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-10-26 23:01:28 +01:00
Make function const
This commit is contained in:
1 parent
639fe3790a
commit
f84f4fbcdb
2 files changed
+2
-2
No files matched your search
@@ -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