summaryrefslogtreecommitdiff
path: root/emulators/gpsim/patches/patch-modules_stimuli.h
blob: b7771765476a49c126b41267b85c3ef5a4378184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-modules_stimuli.h,v 1.1 2013/08/31 14:48:07 joerg Exp $

--- modules/stimuli.h.orig	2013-08-31 11:42:40.000000000 +0000
+++ modules/stimuli.h
@@ -48,10 +48,10 @@ namespace ExtendedStimuli {
     gint64 time;
     Value  *v;
 
-    inline bool operator < (ValueStimulusData &rValue) {
+    inline bool operator < (const ValueStimulusData &rValue) const {
       return time < rValue.time;
     }
-    inline bool operator == (ValueStimulusData rValue) {
+    inline bool operator == (const ValueStimulusData rValue) const {
       return time == rValue.time;
     }
   };