gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r9780: Minor stuff.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9780: Minor stuff.
Date: Thu, 18 Sep 2008 14:47:22 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9780
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2008-09-18 14:47:22 +0200
message:
  Minor stuff.
modified:
  libbase/GnashImage.h
  libcore/swf_event.h
    ------------------------------------------------------------
    revno: 9774.1.7
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Thu 2008-09-18 14:46:03 +0200
    message:
      Forbid copying of image input / output objects.
      
      Fail compile, not execution on unwanted assignment or copy.
    modified:
      libbase/GnashImage.h
      libcore/swf_event.h
=== modified file 'libbase/GnashImage.h'
--- a/libbase/GnashImage.h      2008-08-18 23:53:04 +0000
+++ b/libbase/GnashImage.h      2008-09-18 12:46:03 +0000
@@ -27,7 +27,8 @@
 #ifdef HAVE_PTHREADS
 #include <pthread.h>
 #endif
-#include <boost/shared_ptr.hpp> 
+#include <boost/shared_ptr.hpp>
+#include <boost/noncopyable.hpp>
 #include "log.h"
 #include "image.h"
 
@@ -36,7 +37,8 @@
 
 namespace gnash {
 
-class ImageInput {
+class ImageInput : boost::noncopyable
+{
 
 public:
 
@@ -83,7 +85,7 @@
 
 };
 
-class ImageOutput
+class ImageOutput : boost::noncopyable
 {
 
 public:

=== modified file 'libcore/swf_event.h'
--- a/libcore/swf_event.h       2008-03-27 10:50:12 +0000
+++ b/libcore/swf_event.h       2008-09-18 12:46:03 +0000
@@ -75,7 +75,7 @@
        action_buffer& m_action_buffer;
 
        /// Can't assign to an swf_event
-       void    operator=(const swf_event& /*s*/) { abort(); }
+       void operator=(const swf_event& /*s*/);
 };
 
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]