Fixed warnings
parent
9e8f3defee
commit
1ee7162383
|
@ -58,7 +58,6 @@ void Class::matlab_proxy(const string& classFile, const string& wrapperName, Fil
|
|||
proxyFile.oss << " function obj = " << matlabName << "(varargin)" << endl;
|
||||
// Special pointer constructor
|
||||
{
|
||||
const int id = functionNames.size();
|
||||
proxyFile.oss << " if nargin == 2 && isa(varargin{1}, 'uint64') && ";
|
||||
proxyFile.oss << "varargin{1} == uint64(" << ptr_constructor_key << ")\n";
|
||||
proxyFile.oss << " obj.self = varargin{2};\n";
|
||||
|
|
|
@ -121,6 +121,7 @@ void checkArguments(const string& name, int nargout, int nargin, int expected) {
|
|||
template <typename Class>
|
||||
mxArray* wrap(Class& value) {
|
||||
error("wrap internal error: attempted wrap of invalid type");
|
||||
return 0;
|
||||
}
|
||||
|
||||
// specialization to string
|
||||
|
|
Loading…
Reference in New Issue