diff options
Diffstat (limited to 'kernel/sigtools.h')
-rw-r--r-- | kernel/sigtools.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sigtools.h b/kernel/sigtools.h index 7f7f95ab6..ae6a00f8e 100644 --- a/kernel/sigtools.h +++ b/kernel/sigtools.h @@ -165,11 +165,11 @@ struct SigPool } }; -template <typename T> +template <typename T, class Compare = std::less<T>> struct SigSet { typedef std::pair<RTLIL::Wire*,int> bitDef_t; - std::map<bitDef_t, std::set<T>> bits; + std::map<bitDef_t, std::set<T, Compare>> bits; void clear() { |