Lines 1-3
Link Here
|
|
|
1 |
(blindly) adapted to Festival 2.4 |
2 |
|
1 |
Obtained from: |
3 |
Obtained from: |
2 |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667377 |
4 |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667377 |
3 |
|
5 |
|
Lines 20-46
Link Here
|
20 |
#include "EST_cutils.h" |
22 |
#include "EST_cutils.h" |
21 |
|
23 |
|
22 |
template<class T> |
24 |
template<class T> |
23 |
@@ -98,7 +99,7 @@ void EST_TSimpleMatrix<T>::resize(int ne |
|
|
24 |
{ |
25 |
int copy_r = Lof(this->num_rows(), new_rows); |
26 |
|
27 |
- just_resize(new_rows, new_cols, &old_vals); |
28 |
+ this->just_resize(new_rows, new_cols, &old_vals); |
29 |
|
30 |
for (q=0; q<(copy_r*new_cols*sizeof(T)); q++) /* memcpy */ |
31 |
((char *)this->p_memory)[q] = ((char *)old_vals)[q]; |
32 |
@@ -127,9 +128,9 @@ void EST_TSimpleMatrix<T>::resize(int ne |
33 |
int copy_r = Lof(this->num_rows(), new_rows); |
34 |
int copy_c = Lof(this->num_columns(), new_cols); |
35 |
|
36 |
- just_resize(new_rows, new_cols, &old_vals); |
37 |
+ this->just_resize(new_rows, new_cols, &old_vals); |
38 |
|
39 |
- set_values(old_vals, |
40 |
+ this->set_values(old_vals, |
41 |
old_row_step, old_column_step, |
42 |
0, copy_r, |
43 |
0, copy_c); |
44 |
--- speech_tools/base_class/EST_TSimpleVector.cc |
25 |
--- speech_tools/base_class/EST_TSimpleVector.cc |
45 |
+++ speech_tools/base_class/EST_TSimpleVector.cc |
26 |
+++ speech_tools/base_class/EST_TSimpleVector.cc |
46 |
@@ -43,6 +43,7 @@ |
27 |
@@ -43,6 +43,7 @@ |
Lines 51-93
Link Here
|
51 |
#include "EST_cutils.h" |
32 |
#include "EST_cutils.h" |
52 |
|
33 |
|
53 |
template<class T> void EST_TSimpleVector<T>::copy(const EST_TSimpleVector<T> &a) |
34 |
template<class T> void EST_TSimpleVector<T>::copy(const EST_TSimpleVector<T> &a) |
54 |
@@ -70,7 +71,7 @@ template<class T> void EST_TSimpleVector |
|
|
55 |
int old_offset = this->p_offset; |
56 |
unsigned int q; |
57 |
|
58 |
- just_resize(newn, &old_vals); |
59 |
+ this->just_resize(newn, &old_vals); |
60 |
|
61 |
if (set && old_vals) |
62 |
{ |
63 |
--- speech_tools/include/EST_TIterator.h |
64 |
+++ speech_tools/include/EST_TIterator.h |
65 |
@@ -209,7 +209,7 @@ public: |
66 |
|
67 |
/// Create an iterator ready to run over the given container. |
68 |
EST_TStructIterator(const Container &over) |
69 |
- { begin(over); } |
70 |
+ { this->begin(over); } |
71 |
|
72 |
const Entry *operator ->() const |
73 |
{return &this->current();} |
74 |
@@ -289,7 +289,7 @@ public: |
75 |
|
76 |
/// Create an iterator ready to run over the given container. |
77 |
EST_TRwStructIterator(Container &over) |
78 |
- { begin(over); } |
79 |
+ { this->begin(over); } |
80 |
|
81 |
Entry *operator ->() const |
82 |
{return &this->current();} |
83 |
--- speech_tools/include/EST_TNamedEnum.h |
84 |
+++ speech_tools/include/EST_TNamedEnum.h |
85 |
@@ -130,7 +130,7 @@ public: |
86 |
{this->initialise((const void *)defs); }; |
87 |
EST_TNamedEnumI(EST_TValuedEnumDefinition<const char *,const char *,INFO> defs[], ENUM (*conv)(const char *)) |
88 |
{this->initialise((const void *)defs, conv); }; |
89 |
- const char *name(ENUM tok, int n=0) const {return value(tok,n); }; |
90 |
+ const char *name(ENUM tok, int n=0) const {return this->value(tok,n); }; |
91 |
|
92 |
}; |
93 |
|