darrenlafreniere / lafarren-image-completer

Implementation of the research titled: "Image Completion Using Efficient Belief Propagation via Priority Scheduling and Dynamic Pruning"
http://www.lafarren.com/image-completer/
GNU General Public License v3.0
32 stars 18 forks source link

Warning about initialization order in Node #27

Closed daviddoria closed 13 years ago

daviddoria commented 13 years ago

/media/portable/Projects/src/lafarren-image-completer/src/image-completer-lib/impl/Node.h:150: warning: ‘LfnIc::Node::m_hasPrunedOnce’ will be initialized after /media/portable/Projects/src/lafarren-image-completer/src/image-completer-lib/impl/Node.h:143: warning: ‘int LfnIc::Node::m_depth’ /media/portable/Projects/src/lafarren-image-completer/src/image-completer-lib/impl/Node.cpp:67: warning: when initialized here

darrenlafreniere commented 13 years ago

Fixed, https://github.com/darrenlafreniere/lafarren-image-completer/commit/929446cc56f60873f8fa1364f6f0c870d1e088be