Commit 00b02f9f authored by Leonid Beynenson's avatar Leonid Beynenson

Small addition change in the FileStorage sample.

parent e4965b14
......@@ -162,7 +162,7 @@ int main(int ac, char** av)
" X: 3.1415926535897931e+00\n"
" id: mydata1234\n";
MyData m;
FileStorage fs(dataString, FileStorage::READ | FileStorage::MEMORY | FileStorage::FORMAT_YAML);
FileStorage fs(dataString, FileStorage::READ | FileStorage::MEMORY);
cout << "attempting to read mdata_b from string\n"; //Show default behavior for empty matrix
fs["mdata"] >> m;
cout << "read mdata\n";
......
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