Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
51316d5c
Commit
51316d5c
authored
Oct 24, 2014
by
Christian Schulte zu Berge
Browse files
GCC fix in sigslot.h
parent
2388727d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ext/sigslot/sigslot.h
View file @
51316d5c
...
...
@@ -478,8 +478,8 @@ namespace sigslot {
// In debug mode, check that there is no connection to _target_slot so far.
#define assertSingleConnectionToDestination(_connection_type, _target_object, _target_func) \
connections_list
::
const_iterator
it
=
this
->
m_connected_slots
.
begin
();
\
connections_list
::
const_iterator
itEnd
=
this
->
m_connected_slots
.
end
();
\
typename
connections_list
::
const_iterator
it
=
this
->
m_connected_slots
.
begin
();
\
typename
connections_list
::
const_iterator
itEnd
=
this
->
m_connected_slots
.
end
();
\
while
(
it
!=
itEnd
)
{
\
cgtAssert
((
*
it
)
->
getdest
()
!=
_target_object
||
static_cast
<
_connection_type
*>
(
*
it
)
->
getfunc
()
!=
_target_func
,
"Connected the same slot twice, you should not do this."
);
\
++
it
;
\
...
...
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