Skip to content

Commit

Permalink
moveOnly disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mutagene committed Nov 12, 2023
1 parent 9ea2a7b commit d19e3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/djinni/CppMarshal.scala
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class CppMarshal(spec: Spec) extends Marshal(spec) {
}
case e: MExtern =>
e.defType match {
case DRecord => e.cpp.moveOnly.get
case DRecord => e.cpp.moveOnly.getOrElse(false)
case _ => false
}
case MOptional => moveOnly(tm.args.head)
Expand Down

0 comments on commit d19e3f5

Please sign in to comment.