replace ptr_vector by lib:ScopedPtrVect. passes compiler.
This commit is contained in:
parent
e435822de6
commit
4524c23832
2 changed files with 3 additions and 6 deletions
|
|
@ -192,8 +192,7 @@ namespace gui {
|
||||||
DisplayService::setUp (FrameDestination const& outputDestination)
|
DisplayService::setUp (FrameDestination const& outputDestination)
|
||||||
{
|
{
|
||||||
DisplayerTab& slots (_instance->slots_);
|
DisplayerTab& slots (_instance->slots_);
|
||||||
slots.push_back (new DisplayerSlot (outputDestination));
|
return &slots.manage (new DisplayerSlot (outputDestination));
|
||||||
return &slots.back();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,12 +42,11 @@
|
||||||
#include "include/display-facade.h"
|
#include "include/display-facade.h"
|
||||||
#include "common/instancehandle.hpp"
|
#include "common/instancehandle.hpp"
|
||||||
#include "lib/singleton-ref.hpp"
|
#include "lib/singleton-ref.hpp"
|
||||||
|
#include "lib/scoped-ptrvect.hpp"
|
||||||
|
|
||||||
#include <glibmm.h>
|
#include <glibmm.h>
|
||||||
#include <sigc++/sigc++.h>
|
#include <sigc++/sigc++.h>
|
||||||
#include <boost/noncopyable.hpp>
|
#include <boost/noncopyable.hpp>
|
||||||
//#include <boost/scoped_ptr.hpp>
|
|
||||||
#include <boost/ptr_container/ptr_vector.hpp>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
@ -56,7 +55,6 @@ namespace gui {
|
||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::vector;
|
using std::vector;
|
||||||
using boost::ptr_vector;
|
|
||||||
using lumiera::Display;
|
using lumiera::Display;
|
||||||
using Glib::Dispatcher;
|
using Glib::Dispatcher;
|
||||||
|
|
||||||
|
|
@ -98,7 +96,7 @@ namespace gui {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef ptr_vector<DisplayerSlot> DisplayerTab;
|
typedef lib::ScopedPtrVect<DisplayerSlot> DisplayerTab;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue