File: fix-compile-error-in-tsSLList.h.patch

package info (click to toggle)
epics-base 7.0.8.1%2Bdfsg1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,532 kB
  • sloc: cpp: 130,870; ansic: 115,274; perl: 10,647; makefile: 3,477; yacc: 1,307; python: 594; lex: 236; sh: 108; csh: 36
file content (28 lines) | stat: -rw-r--r-- 887 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 902235520f776d09db3711ac16e9dace92d7f813 Mon Sep 17 00:00:00 2001
From: Jeremy Lorelli <jeremy.lorelli.1337@gmail.com>
Date: Sun, 22 Dec 2024 12:20:39 -0800
Subject: Fix compile error in tsSLList.h
Bug-Debian: https://bugs.debian.org/1096585

---
 modules/libcom/src/cxxTemplates/tsSLList.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/modules/libcom/src/cxxTemplates/tsSLList.h
+++ b/modules/libcom/src/cxxTemplates/tsSLList.h
@@ -311,13 +311,13 @@
 template < class T >
 inline bool tsSLIterConst<T>::operator == ( const tsSLIterConst<T> &rhs ) const
 {
-    return this->pEntry == rhs.pConstEntry;
+    return this->pEntry == rhs.pEntry;
 }
 
 template < class T >
 inline bool tsSLIterConst<T>::operator != (const tsSLIterConst<T> &rhs) const
 {
-    return this->pEntry != rhs.pConstEntry;
+    return this->pEntry != rhs.pEntry;
 }
 
 template < class T >