Skip to content
Snippets Groups Projects
Commit 8a8566ba authored by Simon Oehrl's avatar Simon Oehrl
Browse files

Merge branch 'hotfix/data_storage_cpp_c++11_compliance' into 'develop'

change spike_occured_before to be c++11 compatible

See merge request VR-Group/in-situ-pipeline/insite-nest-module!13
parents 8ec076ad 11f7cff6
No related branches found
No related tags found
1 merge request!13change spike_occured_before to be c++11 compatible
Pipeline #163438 passed
......@@ -59,7 +59,7 @@ std::vector<uint64_t> DataStorage::GetNeuronIds() {
void DataStorage::AddSpike(double simulation_time, std::uint64_t gid) {
std::unique_lock<std::mutex> lock(spike_mutex_);
constexpr auto spike_occured_before = [](const Spike& lhs, const Spike& rhs) {
const auto spike_occured_before = [](const Spike& lhs, const Spike& rhs) {
return lhs.simulation_time < rhs.simulation_time;
};
const Spike spike{simulation_time, gid};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment