From 8c13ee2411aa8d3d822897f831b4c497cddc2cd7 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 19 May 2017 07:10:43 +0100 Subject: [PATCH] C# std::complex wrappers SwigValueWrapper fix Fix std::complex constructor declaration to stop SwigValueWrapper from being generated --- Lib/csharp/std_complex.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/csharp/std_complex.i b/Lib/csharp/std_complex.i index 323b97a59..ac30e1692 100644 --- a/Lib/csharp/std_complex.i +++ b/Lib/csharp/std_complex.i @@ -12,7 +12,7 @@ template class complex { public: - complex(T re, T im); + complex(T re = T(), T im = T()); T real() const; T imag() const;