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
2a06fd98
Commit
2a06fd98
authored
Mar 11, 2013
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build errors with c++11
parent
6569a585
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
spinimages.cpp
modules/contrib/src/spinimages.cpp
+0
-7
_random.hpp
modules/softcascade/src/_random.hpp
+1
-1
No files found.
modules/contrib/src/spinimages.cpp
View file @
2a06fd98
...
...
@@ -77,16 +77,9 @@ namespace
};
size_t
colors_mum
=
sizeof
(
colors
)
/
sizeof
(
colors
[
0
]);
namespace
{
template
<
class
FwIt
,
class
T
>
inline
void
_iota
(
FwIt
first
,
FwIt
last
,
T
value
)
{
#if (defined __cplusplus && __cplusplus > 199711L) || defined _STLPORT_MAJOR
std
::
iota
(
first
,
last
,
value
);
#else
while
(
first
!=
last
)
*
first
++
=
value
++
;
#endif
}
}
void
computeNormals
(
const
Octree
&
Octree
,
const
std
::
vector
<
Point3f
>&
centers
,
std
::
vector
<
Point3f
>&
normals
,
...
...
modules/softcascade/src/_random.hpp
View file @
2a06fd98
...
...
@@ -58,7 +58,7 @@ struct Random
}}}
#elif (__GNUC__) && __GNUC__ > 3 && __GNUC_MINOR__ > 1 && !defined(__ANDROID__)
&& !defined(__APPLE__)
#elif (__GNUC__) && __GNUC__ > 3 && __GNUC_MINOR__ > 1 && !defined(__ANDROID__)
# if defined (__cplusplus) && __cplusplus > 201100L
# include <random>
...
...
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