Skip to content
Snippets Groups Projects
Commit a16b9dc1 authored by Sam Yates's avatar Sam Yates Committed by w-klijn
Browse files

Fix warnings and errors with icpc build. (#246)

Fixes #245.

    Add missing header <system_error> to src/util/strprintf.hpp
    Remove redundant const in cell_kind returns.
parent 282d1eee
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ public:
}
/// Return the kind of cell, used for grouping into cell_groups
cell_kind const get_cell_kind() const {
cell_kind get_cell_kind() const {
return cell_kind::cable1d_neuron;
}
......
......@@ -18,7 +18,7 @@ class cell_group {
public:
virtual ~cell_group() = default;
virtual cell_kind const get_cell_kind() const = 0;
virtual cell_kind get_cell_kind() const = 0;
virtual void reset() = 0;
virtual void set_binning_policy(binning_kind policy, time_type bin_interval) = 0;
......
......@@ -61,7 +61,7 @@ public:
EXPECTS(spike_sources_.size()==n_detectors);
}
cell_kind const get_cell_kind() const override {
cell_kind get_cell_kind() const override {
return cell_kind::cable1d_neuron;
}
......
......@@ -6,6 +6,7 @@
#include <cstdio>
#include <memory>
#include <string>
#include <system_error>
#include <utility>
#include <vector>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment