Skip to content

Commit

Permalink
get rid of previously added mapObj default constructor
Browse files Browse the repository at this point in the history
get rid of previously added mapObj default constructor
  • Loading branch information
Don Ch authored and Don Ch committed Nov 17, 2015
1 parent 5e1e68a commit 3cee0ca
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions mapscript/csharp/csmodule.i
Original file line number Diff line number Diff line change
Expand Up @@ -313,14 +313,12 @@ static SWIG_CSharpByteArrayHelperCallback SWIG_csharp_bytearray_callback = NULL;
throw new ArgumentException("Invalid array length specified!");
return processQueryTemplate(names, values, values.Length);
}

public mapObj(string mapFilePath) : this(0, mapFilePath) {
}


public mapObj(
System.Runtime.Serialization.SerializationInfo info
, System.Runtime.Serialization.StreamingContext context) : this(1, info.GetString("mapText"))
, System.Runtime.Serialization.StreamingContext context) : this(info.GetString("mapText"))
{
//this constructor is needed for ISerializable interface
}

public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Expand Down

0 comments on commit 3cee0ca

Please sign in to comment.