Skip to content

Commit 3ff8ca0

Browse files
committed
signal_impl_exec_holder: Make a constructor explicit.
Because it has only one parameter. Noticed by clang-tidy.
1 parent 562d209 commit 3ff8ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigc++/signal_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ struct SIGC_API signal_impl_exec_holder
178178
/** Increments the execution counter of the parent sigc::signal_impl object.
179179
* @param sig The parent sigc::signal_impl object.
180180
*/
181-
inline signal_impl_exec_holder(signal_impl* sig) noexcept
181+
inline explicit signal_impl_exec_holder(signal_impl* sig) noexcept
182182
: sig_(sig)
183183
{
184184
sig_->reference_exec();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy