[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-2178-g4a9aa74
Date: Sun, 01 Feb 2015 19:41:45 +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  4a9aa741130b8b482e066abc1b80240605408f9b (commit)
      from  7d186f3adc4692ebc3c780ec66d8c9cbb95d64b7 (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 4a9aa741130b8b482e066abc1b80240605408f9b
Author: Bastiaan Jacques <address@hidden>
Date:   Sun Feb 1 19:31:43 2015 +0100

    Savannah #43198. Work around boost 1.56+ incompatibility.
    A breaking change was introduced in boost 1.56 [1]: the implicit
    conversion to bool was removed. Instead, an explicit operator
    bool was provided. The getters were also changed, so we cannot
    use them and retain compatibility with older boost versions.
    By putting the would-be boolean expression in a conditional, we
    now invoke the explicit operator bool (also known as contextual
    conversion to bool) for boost >= 1.56 and the implicit conversion
    to bool for < 1.56.

diff --git a/libcore/DragState.h b/libcore/DragState.h
index 37c333d..f44330f 100644
--- a/libcore/DragState.h
+++ b/libcore/DragState.h
@@ -62,7 +62,7 @@ public:
     std::int32_t yOffset() const { return _yoffset; }
     bool hasBounds() const {
-        return (_bounds);
+        return _bounds ? true : false;
     /// \brief


Summary of changes:
 libcore/DragState.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


reply via email to

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