Skip to content

Commit 54dcd80

Browse files
committed
weak_raw_ptr: Minor use of auto
Noticed by clang-tidy.
1 parent 7902df0 commit 54dcd80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigc++/weak_raw_ptr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ struct weak_raw_ptr : public sigc::notifiable
9292
*/
9393
static void notify_object_invalidated(notifiable* data)
9494
{
95-
weak_raw_ptr* self = static_cast<weak_raw_ptr*>(data);
95+
auto self = static_cast<weak_raw_ptr*>(data);
9696
if(!self)
9797
return;
9898

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