fixed bug with deletion from std::map

This commit is contained in:
Anatoly Baksheev
2013-11-24 20:59:54 +04:00
parent a6ab9be5a6
commit 3830a0b5b2
3 changed files with 17 additions and 9 deletions

View File

@@ -149,8 +149,8 @@ namespace cv
VizStorage(); // Static
~VizStorage();
static void add(Viz3d window);
static Viz3d get(const String &window_name);
static void add(const Viz3d& window);
static Viz3d& get(const String &window_name);
static void remove(const String &window_name);
static bool windowExists(const String &window_name);
static void removeUnreferenced();