Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=d9fa55abc10f72f14405f4f2a17ec26465724ad5

commit d9fa55abc10f72f14405f4f2a17ec26465724ad5
Author: Michel Hermier <herm...@frugalware.org>
Date:   Sat Nov 1 09:23:09 2014 +0100

libpacman: Rename flib::refcounted::aboutToDestroy to about_to_destroy.

diff --git a/lib/libpacman/kernel/frefcounted.cpp 
b/lib/libpacman/kernel/frefcounted.cpp
index 6be2958..49a637d 100644
--- a/lib/libpacman/kernel/frefcounted.cpp
+++ b/lib/libpacman/kernel/frefcounted.cpp
@@ -44,7 +44,7 @@ void refcounted::acquire() const
void refcounted::release() const
{
if(--m_reference_counter == 0) {
-               aboutToDestroy(const_cast<refcounted *>(this));
+               about_to_destroy(const_cast<refcounted *>(this));
delete this;
}
}
diff --git a/lib/libpacman/kernel/frefcounted.h 
b/lib/libpacman/kernel/frefcounted.h
index 32ebefa..4340196 100644
--- a/lib/libpacman/kernel/frefcounted.h
+++ b/lib/libpacman/kernel/frefcounted.h
@@ -30,7 +30,7 @@ namespace flib
class refcounted
{
public:
-               flib::FSignal<void(flib::refcounted *)> aboutToDestroy;
+               flib::FSignal<void(flib::refcounted *)> about_to_destroy;

public:
refcounted();
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to