=== modified file 'NuxCore/PropertyAnimation.h'
@@ -37,7 +37,7 @@
T const& finish,
int ms_duration)
{
- std::shared_ptr<AnimateValue<T> > anim(new AnimateValue<T>(start, finish, ms_duration));
+ auto anim = std::make_shared<AnimateValue<T>>(start, finish, ms_duration);
anim->updated.connect([&prop](T const& v) { prop = v; });
return anim;
}
=== modified file 'autogen.sh'
@@ -2,8 +2,6 @@
srcdir=`dirname $0`
-#PKG_NAME="Nux"
-
which gnome-autogen.sh || {
echo "You need gnome-common from GNOME SVN"
exit 1
=== modified file 'debian/control'
@@ -13,6 +13,7 @@
libboost-filesystem-dev,
libboost-system-dev,
google-mock (>= 1.6.0+svn437),
+ libgtest-dev,
libcairo2-dev (>= 1.9.14),
libpng-dev,
libglewmx-dev [!armel !armhf],
=== modified file 'tests/gtest-nuxcore-animation.cpp'
@@ -21,8 +21,6 @@
#include <gmock/gmock.h>
-#include <boost/shared_ptr.hpp>
-
namespace na = nux::animation;
namespace nt = nux::testing;
@@ -789,7 +787,7 @@
nux::Property<int> int_property;
EXPECT_THAT(int_property(), Eq(0));
- boost::shared_ptr<na::AnimateValue<int> > anim = na::animate_property(int_property, 10, 20, 1000);
+ std::shared_ptr<na::AnimateValue<int> > anim = na::animate_property(int_property, 10, 20, 1000);
anim->finished.connect([&anim]() {anim.reset();});
anim->Start();