ALT Linux repos
S: | 2.5-alt0.4 |
5.0: | 1.96-alt6 |
4.1: | 1.96-alt5.M41.1 |
4.0: | 1.96-alt2.6 |
3.0: | |
+backports: | 1.96-alt0.M30.1 |
Other repositories
Upstream: | 1.96-beta |
Group :: Sound
RPM: festival
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: templatefixes.diff
Download
Download
This patch adds the not-equal operator for EST_TList.
This patch is not intended to alter the code in a substantive way.
No copyright subsists in this patch as it is too trivial.
Author: Peter Drysdale <drysdalepete@gmail.com>
--- a/include/EST_TList.h
+++ b/include/EST_TList.h
@@ -268,6 +268,12 @@
}
template<class T>
+bool operator!=(const EST_TList<T> &a, const EST_TList<T> &b)
+{
+ return !(a==b);
+}
+
+template<class T>
int index(EST_TList<T> &l, T& val, bool (*eq)(const EST_UItem *, const EST_UItem *) = NULL)
{
EST_TItem<T> item(val);