Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1197)

Unified Diff: src/object.cpp

Issue 6901073: dbus-c++: Revert "dbus-c++: Allow deferred object registration." (Closed) Base URL: ssh://gitrw.chromium.org:9222/dbus-cplusplus.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/dbus-c++/object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/object.cpp
diff --git a/src/object.cpp b/src/object.cpp
index 7a53f061d0d2b16fac7ef21825c97c40cd61588c..5bb538d3742b60ee50b2298413438abb5ac548f3 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -148,12 +148,10 @@ ObjectPathList ObjectAdaptor::child_nodes_from_prefix(const std::string &prefix)
return ali;
}
-ObjectAdaptor::ObjectAdaptor(Connection &conn, const Path &path,
- registration_time reg_time)
+ObjectAdaptor::ObjectAdaptor(Connection &conn, const Path &path)
: Object(conn, path, conn.unique_name())
{
- if (reg_time == REGISTER_NOW)
- register_obj();
+ register_obj();
}
ObjectAdaptor::~ObjectAdaptor()
« no previous file with comments | « include/dbus-c++/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698