Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e57f22a3
Commit
e57f22a3
authored
Nov 21, 2017
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed allocSingleton
parent
12662e06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
private.hpp
modules/core/include/opencv2/core/private.hpp
+1
-1
No files found.
modules/core/include/opencv2/core/private.hpp
View file @
e57f22a3
...
...
@@ -162,7 +162,7 @@ CV_EXPORTS void scalarToRawData(const cv::Scalar& s, void* buf, int type, int un
//! Allocate all memory buffers which will not be freed, ease filtering memcheck issues
template
<
typename
T
>
CV_EXPORTS
T
*
allocSingleton
(
size_t
count
)
{
return
fastMalloc
(
sizeof
(
T
)
*
count
);
}
CV_EXPORTS
T
*
allocSingleton
(
size_t
count
)
{
return
static_cast
<
T
*>
(
fastMalloc
(
sizeof
(
T
)
*
count
)
);
}
}
// property implementation macros
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment