forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-text/libmwaw: Add upstream buildfix
Reported-by: Coacher <[email protected]> Thanks-to: Shannon <[email protected]> Closes: https://bugs.gentoo.org/637692 Package-Manager: Portage-2.3.14, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
commit 4bc8ec0481f89b989b0c34236c9d5d9b8038d4a9 | ||
Author: David Tardon <[email protected]> | ||
Date: Wed Nov 15 13:15:44 2017 +0100 | ||
|
||
fix call of explicit ctor | ||
|
||
diff --git a/src/lib/libmwaw_internal.hxx b/src/lib/libmwaw_internal.hxx | ||
index 2875a0fb..b844a9d5 100644 | ||
--- a/src/lib/libmwaw_internal.hxx | ||
+++ b/src/lib/libmwaw_internal.hxx | ||
@@ -1027,7 +1027,7 @@ public: | ||
} | ||
//! generic constructor | ||
template <class U> explicit MWAWBox2(MWAWBox2<U> const &p) | ||
- : m_data(p.min(), p.max()) | ||
+ : m_data(MWAWVec2<T>(p.min()), MWAWVec2<T>(p.max())) | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters