summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-25 20:52:58 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-25 20:52:58 +0100
commitee7187c25d83a47a106493e66b89888eca6d4344 (patch)
tree68ee60efb9044bf5a201925f89c9f8ddbfe7df81 /examples
parentc597fcee56abc2e6d92e3cfbbfe3c7817d9d0cbe (diff)
Use signals2 rather than sigc++
Diffstat (limited to 'examples')
-rw-r--r--examples/make_dcp.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc
index a84a19c1..e1d8353b 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -23,7 +23,6 @@
#include <vector>
#include <string>
-#include <sigc++/sigc++.h>
/* If you are using an installed libdcp, these #includes would need to be changed to
#include <libdcp/dcp.h>
@@ -74,7 +73,7 @@ main ()
for 2K projectors.
*/
boost::shared_ptr<libdcp::MonoPictureAsset> picture_asset (
- new libdcp::MonoPictureAsset (sigc::ptr_fun (&video_frame), "My Film DCP", "video.mxf", 0, 24, 48, 1998, 1080)
+ new libdcp::MonoPictureAsset (video_frame, "My Film DCP", "video.mxf", 0, 24, 48, 1998, 1080)
);
/* Now we will create a `sound asset', which is made up of a WAV file for each channel of audio. Here we're using