1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Added to CV_INIT_ALGORITHM a Ptr creation function, for convenience.

Also changed the static functions to inline, to stop GCC complaining
about unused functions.
This commit is contained in:
Roman Donchenko
2013-08-14 12:41:58 +04:00
parent dadee3752c
commit 24dee16b12
5 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ CV_INIT_ALGORITHM(EM, "StatModel.EM",
bool initModule_ml(void)
{
Ptr<Algorithm> em = createEM_hidden();
Ptr<Algorithm> em = createEM_ptr_hidden();
return em->info() != 0;
}