filestoragecpp_debug.patch

Not a patch, just shows the bug. - Nicholas Butko, 2011-01-27 11:52 pm

Download (531 Bytes)

 
../filestorage.cpp 2011-01-27 14:45:41.000000000 -0800
44 44
  }
45 45
  void read(const FileNode& node)  //Read serialization for this class
46 46
  {
47

  
47
    cout << "!!!!!!!!!! CALLING READ FUNCTION !!!!!!!!!!!!" << endl; 
48 48
    A = (int)node["A"];
49 49
    X = (double)node["X"];
50 50
    id = (string)node["id"];
......
99 99

  
100 100
    cout << "writing MyData struct\n";
101 101
    MyData m(1);
102
    m.X = CV_PI*2.;
102 103
    fs << "mdata" << m;
103 104
    cout << m << endl;
104 105
  }