[Top][All Lists]

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-

From: Bastiaan Jacques
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2141-g21b977d
Date: Sun, 15 Jun 2014 20:47:19 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  21b977dfe038f61293998e3bf39616715dd8798c (commit)
      from  fc538f7ad7b9ebf414b2859ee59ef4545e60f48d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 21b977dfe038f61293998e3bf39616715dd8798c
Author: Bastiaan Jacques <address@hidden>
Date:   Sun Jun 15 22:45:35 2014 +0200

    Define a move-assignment operator to keep gcc-4.6 happy.

diff --git a/libbase/SimpleBuffer.h b/libbase/SimpleBuffer.h
index b2645cd..2757a5e 100644
--- a/libbase/SimpleBuffer.h
+++ b/libbase/SimpleBuffer.h
@@ -69,12 +69,15 @@ public:
         /// Move constructor.
-        SimpleBuffer(SimpleBuffer&& b) = default;
+        SimpleBuffer(SimpleBuffer&&) = default;
         /// Copy (construction) not allowed.
         SimpleBuffer(const SimpleBuffer& b) = delete;
         SimpleBuffer& operator= (const SimpleBuffer& b) = delete;
+        /// Move assignment is okay.
+        SimpleBuffer& operator= (SimpleBuffer&&) = default;
        /// Return true if buffer is empty
        bool empty() const { return _size==0; }


Summary of changes:
 libbase/SimpleBuffer.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


reply via email to

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