From 6f1532e35a605bc52c85892d3094be552ca6483a Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 5 Oct 2022 20:15:21 +0100 Subject: [PATCH] Warning fix for OCaml test --- Examples/test-suite/cpp11_move_only.i | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Examples/test-suite/cpp11_move_only.i b/Examples/test-suite/cpp11_move_only.i index 28aaf05e5..b7db92b3b 100644 --- a/Examples/test-suite/cpp11_move_only.i +++ b/Examples/test-suite/cpp11_move_only.i @@ -2,6 +2,10 @@ %include "cpp11_move_only_helper.i" +#if defined(SWIGOCAML) +%rename(valu) val; +#endif + %ignore MoveOnly::operator=; //%valuewrapper MoveOnly; // SWIG sets %valuewrapper by default for move-only types