projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191f25a
)
small fix in DefaultRngAuto class for easier parsing with Python wrapper generator
author
Vadim Pisarevsky
<no@email>
Tue, 12 Oct 2010 12:36:20 +0000
(12:36 +0000)
committer
Vadim Pisarevsky
<no@email>
Tue, 12 Oct 2010 12:36:20 +0000
(12:36 +0000)
modules/features2d/include/opencv2/features2d/features2d.hpp
patch
|
blob
|
history
diff --git
a/modules/features2d/include/opencv2/features2d/features2d.hpp
b/modules/features2d/include/opencv2/features2d/features2d.hpp
index
8d9d6a9
..
2adefb6
100644
(file)
--- a/
modules/features2d/include/opencv2/features2d/features2d.hpp
+++ b/
modules/features2d/include/opencv2/features2d/features2d.hpp
@@
-181,10
+181,9
@@
namespace cv
{
struct CV_EXPORTS DefaultRngAuto
{
- const static uint64 def_state = (uint64)-1;
const uint64 old_state;
- DefaultRngAuto() : old_state(theRNG().state) { theRNG().state =
def_state
; }
+ DefaultRngAuto() : old_state(theRNG().state) { theRNG().state =
(uint64)-1
; }
~DefaultRngAuto() { theRNG().state = old_state; }
DefaultRngAuto& operator=(const DefaultRngAuto&);