Commit 77258680 authored by marina.kolpakova's avatar marina.kolpakova

Merge pull request #87 from jet47:cmd-parser-fix

parents 6211f156 26f95345
......@@ -70,7 +70,7 @@ static void from_str(const string& str, int type, void* dst)
else if( type == Param::REAL )
ss >> *(double*)dst;
else if( type == Param::STRING )
ss >> *(string*)dst;
*(string*)dst = str;
else
throw cv::Exception(CV_StsBadArg, "unknown/unsupported parameter type", "", __FILE__, __LINE__);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment