build_error.txt

Mathieu Lamarre, 2013-02-11 10:46 pm

Download (831 Bytes)

 
1
diff --git a/modules/core/include/opencv2/core/operations.hpp b/modules/core/include/opencv2/core/operations.hpp
2
index 0d0f7c7..3988e96 100644
3
--- a/modules/core/include/opencv2/core/operations.hpp
4
+++ b/modules/core/include/opencv2/core/operations.hpp
5
@@ -2554,7 +2554,7 @@ AutoBuffer<_Tp, fixed_size>::AutoBuffer(const AutoBuffer<_Tp, fixed_size>& abuf
6
 {
7
     ptr = buf;
8
     sz = fixed_size;
9
-    allocate(abuf.size);
10
+    allocate(abuf.size.size());
11
     for( size_t i = 0; i < sz; i++ )
12
         ptr[i] = abuf.ptr[i];
13
 }
14
@@ -2565,7 +2565,7 @@ AutoBuffer<_Tp, fixed_size>::operator = (const AutoBuffer<_Tp, fixed_size>& abuf
15
     if( this != &abuf )
16
     {
17
         deallocate();
18
-        allocate(abuf.size);
19
+        allocate(abuf.size());
20
         for( size_t i = 0; i < sz; i++ )
21
             ptr[i] = abuf.ptr[i];
22
     }