GCC 4.7 compilation fixes. Now builds on debian wheezy beta2
This commit is contained in:
parent
e267e0ad0b
commit
f7a7c1c416
6 changed files with 9 additions and 9 deletions
|
|
@ -114,7 +114,7 @@ namespace lib {
|
|||
{
|
||||
REQUIRE (asset, "Attempt to track a NIL element");
|
||||
remove (*asset);
|
||||
push_back (asset);
|
||||
this->push_back (asset);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -124,7 +124,7 @@ namespace lib {
|
|||
i != _Vec::end() ; ++i )
|
||||
if (asset == **i) // _Vec contains smart-ptrs
|
||||
{ // ELM is required to define '=='
|
||||
erase (i);
|
||||
this->erase (i);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,8 +111,8 @@ namespace lib {
|
|||
Product
|
||||
operator() (ID const& id, ARG arg)
|
||||
{
|
||||
Creator& func = selectProducer (id);
|
||||
return wrap (func(arg));
|
||||
Creator& func = this->selectProducer (id);
|
||||
return this->wrap (func(arg));
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -199,8 +199,8 @@ namespace lib {
|
|||
Product
|
||||
operator() (ID const& id)
|
||||
{
|
||||
Creator& func = selectProducer (id);
|
||||
return wrap (func());
|
||||
Creator& func = this->selectProducer (id);
|
||||
return this->wrap (func());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ namespace lib {
|
|||
REQUIRE (obj);
|
||||
try
|
||||
{
|
||||
push_back (obj);
|
||||
this->push_back (obj);
|
||||
return *obj;
|
||||
}
|
||||
catch(...)
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ namespace mutation {
|
|||
void
|
||||
attach (SIG const& toNotify)
|
||||
{
|
||||
ChangeSignal newListener (ref(toNotify));
|
||||
ChangeSignal newListener (std::tr1::ref(toNotify));
|
||||
listeners_.push_back (newListener);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ namespace mutation {
|
|||
processValueChange (TAR& target, SRC const& change) ///< standard case: plain value change
|
||||
{
|
||||
imposeChange (target, maybeMaterialise(change));
|
||||
return buildChangedValue (maybeMaterialise(target));
|
||||
return Link::buildChangedValue (maybeMaterialise(target));
|
||||
}
|
||||
|
||||
static TI
|
||||
|
|
|
|||
Loading…
Reference in a new issue