Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:STABLE:3.16
glibmm2
fix-deprecated-extra_object_base_data_mutex-aut...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-deprecated-extra_object_base_data_mutex-auto_ptr.patch of Package glibmm2
--- glibmm-2.44.0/glib/glibmm/objectbase.h.orig 2015-01-20 13:09:51.000000000 +0100 +++ glibmm-2.44.0/glib/glibmm/objectbase.h 2015-07-31 17:23:27.277491768 +0200 @@ -212,7 +212,7 @@ // auto_ptr, because we don't want to include glibmm/threads.h in objectbase.h. // threads.h must be the first included file that includes glib.h. That could cause // problems in files that directly or indirectly include objectbase.h. -static std::auto_ptr<Threads::Mutex> extra_object_base_data_mutex; +static Threads::Mutex* extra_object_base_data_mutex; public: // is_derived_() must be public, so that overridden vfuncs and signal handlers can call it via ObjectBase. --- glibmm-2.44.0/glib/glibmm/objectbase.cc.orig 2015-01-20 13:09:51.000000000 +0100 +++ glibmm-2.44.0/glib/glibmm/objectbase.cc 2015-07-31 17:25:46.691748850 +0200 @@ -46,7 +46,7 @@ // static data members ObjectBase::extra_object_base_data_type ObjectBase::extra_object_base_data; -std::auto_ptr<Threads::Mutex> ObjectBase::extra_object_base_data_mutex(new Threads::Mutex()); +Threads::Mutex* ObjectBase::extra_object_base_data_mutex = new Threads::Mutex(); ObjectBase::ObjectBase() :
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor