samples: avoid using of legacy code constructions in viz sample

pull/11211/head
Alexander Alekhin 7 years ago
parent 9558a35cde
commit 53944cbebb
  1. 2
      samples/cpp/tutorial_code/viz/histo3D.cpp

@ -163,7 +163,7 @@ int main (int argc,char **argv)
waitKey(30);
//! [slide_bar_for_thresh]
//! [manage_viz_imshow_window]
h.fen3D = new viz::Viz3d("3D Histogram");
h.fen3D = makePtr<viz::Viz3d>("3D Histogram");
h.nbWidget=0;
h.fen3D->registerKeyboardCallback(KeyboardViz3d,&h);
DrawHistogram3D(h);

Loading…
Cancel
Save