Fix std::list<hared_ptr<>> front/back methods
Shared pointer reference accessors can't be const
This commit is contained in:
parent
3e7e89db8f
commit
bed2eb2e33
@ -1872,8 +1872,8 @@ public:
|
||||
.addFunction ("empty", <::empty)
|
||||
.addFunction ("size", <::size)
|
||||
.addFunction ("reverse", <::reverse)
|
||||
.addFunction ("front", static_cast<const T& (LT::*)() const>(<::front))
|
||||
.addFunction ("back", static_cast<const T& (LT::*)() const>(<::back))
|
||||
.addFunction ("front", static_cast<T& (LT::*)()>(<::front))
|
||||
.addFunction ("back", static_cast<T& (LT::*)()>(<::back))
|
||||
.addExtCFunction ("iter", &CFunc::listIter<T, LT>)
|
||||
.addExtCFunction ("table", &CFunc::listToTable<T, LT>);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user