projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enums are not Classes in C++98
[ardour.git]
/
libs
/
ardour
/
rb_effect.cc
diff --git
a/libs/ardour/rb_effect.cc
b/libs/ardour/rb_effect.cc
index 9ae909780ae005f5fb553f233df15bbbff4a0a8c..cd597c6f5661c6f6d499a52813ea2adc0bc91c25 100644
(file)
--- a/
libs/ardour/rb_effect.cc
+++ b/
libs/ardour/rb_effect.cc
@@
-32,7
+32,7
@@
#include "ardour/stretch.h"
#include "ardour/types.h"
#include "ardour/stretch.h"
#include "ardour/types.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace std;
using namespace ARDOUR;
using namespace std;
using namespace ARDOUR;
@@
-372,7
+372,7
@@
RBEffect::run (boost::shared_ptr<Region> r, Progress* progress)
if (buffers) {
for (uint32_t i = 0; i < channels; ++i) {
if (buffers) {
for (uint32_t i = 0; i < channels; ++i) {
- delete buffers[i];
+ delete
[]
buffers[i];
}
delete [] buffers;
}
}
delete [] buffers;
}