[Top][All Lists]

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

[Gnash-commit] [SCM] Gnash branch, master, updated. 8035e5d024077d0533da

From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 8035e5d024077d0533da113f02c1c1c6ec63d8bd
Date: Tue, 21 Sep 2010 15:10:08 +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  8035e5d024077d0533da113f02c1c1c6ec63d8bd (commit)
       via  60fb6da5ca9b421e5d8a36b45b8121632a0ea56d (commit)
      from  70ac0c45009a33fb7728fbb4a16d50a6ccb25dc1 (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 8035e5d024077d0533da113f02c1c1c6ec63d8bd
Merge: 60fb6da 70ac0c4
Author: Sandro Santilli <address@hidden>
Date:   Tue Sep 21 17:09:33 2010 +0200

    Merge branch 'master' of ssh://address@hidden/srv/git/gnash

commit 60fb6da5ca9b421e5d8a36b45b8121632a0ea56d
Author: Sandro Santilli <address@hidden>
Date:   Tue Sep 21 17:09:05 2010 +0200

    Do not pass std::map objects around by value...

diff --git a/libcore/DisplayObject.cpp b/libcore/DisplayObject.cpp
index aca10b2..574a393 100644
--- a/libcore/DisplayObject.cpp
+++ b/libcore/DisplayObject.cpp
@@ -64,8 +64,8 @@ namespace {
     typedef void(*Setter)(DisplayObject&, const as_value&);
     typedef std::map<string_table::key, Setter> Setters;
-    const Getters displayObjectGetters();
-    const Setters displayObjectSetters();
+    const Getters& displayObjectGetters();
+    const Setters& displayObjectSetters();
     bool doSet(string_table::key prop, DisplayObject& o, const as_value& val);
     bool doGet(string_table::key prop, DisplayObject& o, as_value& val);
@@ -1545,7 +1545,7 @@ doSet(string_table::key prop, DisplayObject& o, const 
as_value& val)
     return true;
-const Getters
+const Getters&
     static const Getters getters = boost::assign::map_list_of
@@ -1575,7 +1575,7 @@ displayObjectGetters()
     return getters;
-const Setters
+const Setters&
     const Setter n = 0;


Summary of changes:
 libcore/DisplayObject.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


reply via email to

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