Skip to content

Commit 4cf4cb0

Browse files
authored
fixed compile error with the new C++ persistence in contrib (#1864)
1 parent 7c57814 commit 4cf4cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/optflow/src/sparse_matching_gpc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ void GPCDetails::dropOutliers( std::vector< std::pair< Point2i, Point2i > > &cor
767767

768768
void write( FileStorage &fs, const String &name, const optflow::GPCTree::Node &node )
769769
{
770-
cv::internal::WriteStructContext ws( fs, name, CV_NODE_SEQ + CV_NODE_FLOW );
770+
cv::internal::WriteStructContext ws( fs, name, FileNode::SEQ + FileNode::FLOW );
771771
for ( unsigned i = 0; i < optflow::GPCPatchDescriptor::nFeatures; ++i )
772772
write( fs, node.coef[i] );
773773
write( fs, node.rhs );

0 commit comments

Comments
 (0)