summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-06-22 16:18:07 +0200
committerRobin Gareus <robin@gareus.org>2016-06-22 16:18:07 +0200
commit64d7a82a52628e3f27cf5316d753540873a4b97b (patch)
treeef9e0b973e5798042924d41b64c010786d8ab7dd /libs/surfaces
parentcad5ed4f2150d3f8511a6c7f330ab26b6eaaedbe (diff)
fix gcc4 builds C++98
Flag is an enum -- not a class nor namespace
Diffstat (limited to 'libs/surfaces')
-rw-r--r--libs/surfaces/osc/osc.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc
index 5792fd5896..d95220558a 100644
--- a/libs/surfaces/osc/osc.cc
+++ b/libs/surfaces/osc/osc.cc
@@ -2563,35 +2563,35 @@ OSC::get_sorted_stripables(std::bitset<32> types)
for (StripableList::iterator it = stripables.begin(); it != stripables.end(); ++it) {
boost::shared_ptr<Stripable> s = *it;
- if ((!types[9]) && (s->presentation_info().flags() & PresentationInfo::Flag::Hidden)) {
+ if ((!types[9]) && (s->presentation_info().flags() & PresentationInfo::Hidden)) {
// do nothing... skip it
} else {
- if (types[0] && (s->presentation_info().flags() & PresentationInfo::Flag::AudioTrack)) {
+ if (types[0] && (s->presentation_info().flags() & PresentationInfo::AudioTrack)) {
sorted.push_back (s);
} else
- if (types[1] && (s->presentation_info().flags() & PresentationInfo::Flag::MidiTrack)) {
+ if (types[1] && (s->presentation_info().flags() & PresentationInfo::MidiTrack)) {
sorted.push_back (s);
} else
- if (types[2] && (s->presentation_info().flags() & PresentationInfo::Flag::AudioBus)) {
+ if (types[2] && (s->presentation_info().flags() & PresentationInfo::AudioBus)) {
sorted.push_back (s);
} else
- if (types[3] && (s->presentation_info().flags() & PresentationInfo::Flag::MidiBus)) {
+ if (types[3] && (s->presentation_info().flags() & PresentationInfo::MidiBus)) {
sorted.push_back (s);
} else
- if (types[4] && (s->presentation_info().flags() & PresentationInfo::Flag::VCA)) {
+ if (types[4] && (s->presentation_info().flags() & PresentationInfo::VCA)) {
sorted.push_back (s);
} else
- if (types[5] && (s->presentation_info().flags() & PresentationInfo::Flag::MasterOut)) {
+ if (types[5] && (s->presentation_info().flags() & PresentationInfo::MasterOut)) {
sorted.push_back (s);
} else
- if (types[6] && (s->presentation_info().flags() & PresentationInfo::Flag::MonitorOut)) {
+ if (types[6] && (s->presentation_info().flags() & PresentationInfo::MonitorOut)) {
sorted.push_back (s);
} else
- if (types[8] && (s->presentation_info().flags() & PresentationInfo::Flag::Selected)) {
+ if (types[8] && (s->presentation_info().flags() & PresentationInfo::Selected)) {
sorted.push_back (s);
} else
- if (types[9] && (s->presentation_info().flags() & PresentationInfo::Flag::Hidden)) {
+ if (types[9] && (s->presentation_info().flags() & PresentationInfo::Hidden)) {
sorted.push_back (s);
}
}