Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
36b04362
Commit
36b04362
authored
Nov 11, 2017
by
Pierre Fenoll
Committed by
Davis E. King
Nov 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pedantic: fix "extra `;`" warnings when compiling with -Wpedantic (#906)
parent
8b5c04d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
matrix_op.h
dlib/matrix/matrix_op.h
+8
-8
No files found.
dlib/matrix/matrix_op.h
View file @
36b04362
...
@@ -374,10 +374,10 @@ namespace dlib
...
@@ -374,10 +374,10 @@ namespace dlib
template <typename U> bool destructively_aliases ( const matrix_exp<U>& item) const \
template <typename U> bool destructively_aliases ( const matrix_exp<U>& item) const \
{ return m.destructively_aliases(item); } \
{ return m.destructively_aliases(item); } \
\
\
}
;
}
#define DLIB_DEFINE_FUNCTION_M(op_name, name, function, extra_cost) \
#define DLIB_DEFINE_FUNCTION_M(op_name, name, function, extra_cost) \
DLIB_DEFINE_OP_M(op_name, function, extra_cost)
\
DLIB_DEFINE_OP_M(op_name, function, extra_cost)
;
\
template < typename M > \
template < typename M > \
const matrix_op<op_name<M> > name ( const matrix_exp<M>& m) \
const matrix_op<op_name<M> > name ( const matrix_exp<M>& m) \
{ \
{ \
...
@@ -417,10 +417,10 @@ namespace dlib
...
@@ -417,10 +417,10 @@ namespace dlib
template <typename U> bool destructively_aliases ( const matrix_exp<U>& item) const \
template <typename U> bool destructively_aliases ( const matrix_exp<U>& item) const \
{ return m.destructively_aliases(item); } \
{ return m.destructively_aliases(item); } \
\
\
}
;
}
#define DLIB_DEFINE_FUNCTION_MS(op_name, name, function, extra_cost) \
#define DLIB_DEFINE_FUNCTION_MS(op_name, name, function, extra_cost) \
DLIB_DEFINE_OP_MS(op_name, function, extra_cost)
\
DLIB_DEFINE_OP_MS(op_name, function, extra_cost)
;
\
template < typename M, typename S > \
template < typename M, typename S > \
const matrix_op<op_name<M, S> > name ( const matrix_exp<M>& m, const S& s) \
const matrix_op<op_name<M, S> > name ( const matrix_exp<M>& m, const S& s) \
{ \
{ \
...
@@ -460,10 +460,10 @@ namespace dlib
...
@@ -460,10 +460,10 @@ namespace dlib
template <typename U> bool destructively_aliases ( const matrix_exp<U>& item) const \
template <typename U> bool destructively_aliases ( const matrix_exp<U>& item) const \
{ return m.destructively_aliases(item); } \
{ return m.destructively_aliases(item); } \
\
\
}
;
}
#define DLIB_DEFINE_FUNCTION_SM(op_name, name, function, extra_cost) \
#define DLIB_DEFINE_FUNCTION_SM(op_name, name, function, extra_cost) \
DLIB_DEFINE_OP_SM(op_name, function, extra_cost)
\
DLIB_DEFINE_OP_SM(op_name, function, extra_cost)
;
\
template < typename S, typename M > \
template < typename S, typename M > \
const matrix_op<op_name<S, M> > name (const S& s, const matrix_exp<M>& m) \
const matrix_op<op_name<S, M> > name (const S& s, const matrix_exp<M>& m) \
{ \
{ \
...
...
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