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
2dc5e245
Commit
2dc5e245
authored
Dec 03, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13350 from alalek:fix_kw_gapi
parents
ea3a5950
c577c2cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
assert.hpp
modules/gapi/include/opencv2/gapi/own/assert.hpp
+4
-2
No files found.
modules/gapi/include/opencv2/gapi/own/assert.hpp
View file @
2dc5e245
...
@@ -10,7 +10,8 @@
...
@@ -10,7 +10,8 @@
#if !defined(GAPI_STANDALONE)
#if !defined(GAPI_STANDALONE)
#include <opencv2/core/base.hpp>
#include <opencv2/core/base.hpp>
#define GAPI_Assert(expr) CV_Assert(expr)
#define GAPI_Assert CV_Assert
#define GAPI_DbgAssert CV_DbgAssert
#else
#else
#include <stdexcept>
#include <stdexcept>
...
@@ -30,7 +31,6 @@ namespace detail
...
@@ -30,7 +31,6 @@ namespace detail
#define GAPI_Assert(expr) \
#define GAPI_Assert(expr) \
{ if (!(expr)) ::detail::assert_abort(#expr, __LINE__, __FILE__, __func__); }
{ if (!(expr)) ::detail::assert_abort(#expr, __LINE__, __FILE__, __func__); }
#endif
#ifdef NDEBUG
#ifdef NDEBUG
# define GAPI_DbgAssert(expr)
# define GAPI_DbgAssert(expr)
...
@@ -38,4 +38,6 @@ namespace detail
...
@@ -38,4 +38,6 @@ namespace detail
# define GAPI_DbgAssert(expr) GAPI_Assert(expr)
# define GAPI_DbgAssert(expr) GAPI_Assert(expr)
#endif
#endif
#endif // GAPI_STANDALONE
#endif // OPENCV_GAPI_OWN_ASSERT_HPP
#endif // OPENCV_GAPI_OWN_ASSERT_HPP
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