projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revert incorrect include path changes and removal of export macros for two libardour...
[ardour.git]
/
libs
/
pbd
/
enumwriter.cc
diff --git
a/libs/pbd/enumwriter.cc
b/libs/pbd/enumwriter.cc
index 3ce296c664ccc695b0a774c65d82bc408079228d..6d911b2dea7c540198bf559ed603ed3f524b06ff 100644
(file)
--- a/
libs/pbd/enumwriter.cc
+++ b/
libs/pbd/enumwriter.cc
@@
-127,7
+127,7
@@
EnumWriter::write (string type, int value)
if (x == registry.end()) {
error << string_compose (_("EnumWriter: unknown enumeration type \"%1\""), type) << endmsg;
if (x == registry.end()) {
error << string_compose (_("EnumWriter: unknown enumeration type \"%1\""), type) << endmsg;
- throw unknown_enumeration
(
);
+ throw unknown_enumeration
(type
);
}
if (x->second.bitwise) {
}
if (x->second.bitwise) {
@@
-144,7
+144,7
@@
EnumWriter::read (string type, string value)
if (x == registry.end()) {
error << string_compose (_("EnumWriter: unknown enumeration type \"%1\""), type) << endmsg;
if (x == registry.end()) {
error << string_compose (_("EnumWriter: unknown enumeration type \"%1\""), type) << endmsg;
- throw unknown_enumeration
(
);
+ throw unknown_enumeration
(type
);
}
if (x->second.bitwise) {
}
if (x->second.bitwise) {
@@
-267,7
+267,7
@@
EnumWriter::read_bits (EnumRegistration& er, string str)
} while (true);
if (!found) {
} while (true);
if (!found) {
- throw unknown_enumeration
(
);
+ throw unknown_enumeration
(str
);
}
return result;
}
return result;
@@
-316,7
+316,7
@@
EnumWriter::read_distinct (EnumRegistration& er, string str)
}
}
}
}
- throw unknown_enumeration();
+ throw unknown_enumeration(
str
);
}
void
}
void