projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0895616
)
fixed warning
author
Anatoly Baksheev
<no@email>
Tue, 19 Nov 2013 08:14:24 +0000
(12:14 +0400)
committer
Anatoly Baksheev
<no@email>
Sat, 7 Dec 2013 14:50:43 +0000
(18:50 +0400)
modules/viz/src/viz3d_impl.cpp
patch
|
blob
|
history
diff --git
a/modules/viz/src/viz3d_impl.cpp
b/modules/viz/src/viz3d_impl.cpp
index
ae8fc15
..
14107c5
100644
(file)
--- a/
modules/viz/src/viz3d_impl.cpp
+++ b/
modules/viz/src/viz3d_impl.cpp
@@
-568,7
+568,7
@@
void cv::viz::Viz3d::VizImpl::updateCells(vtkSmartPointer<vtkIdTypeArray> &cells
cells->SetNumberOfTuples(nr_points);
vtkIdType *cell = cells->GetPointer(0);
// Fill it with 1s
- std::fill
_n(cell,
nr_points * 2, 1);
+ std::fill
(cell, cell +
nr_points * 2, 1);
cell++;
for (vtkIdType i = 0; i < nr_points; ++i, cell += 2)
*cell = i;