Commit f2b30795 authored by Andrew Twyman's avatar Andrew Twyman

Clean up redundant code

parent 2903818a
......@@ -46,9 +46,7 @@ class ObjcppMarshal(spec: Spec) extends Marshal(spec) {
}
def include(m: Meta) = m match {
case d: MDef => d.defType match {
case _ => q(spec.objcppIncludePrefix + privateHeaderName(d.name))
}
case d: MDef => q(spec.objcppIncludePrefix + privateHeaderName(d.name))
case _ => throw new AssertionError("not applicable")
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment