diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-02 11:29:23 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-02 11:29:23 +0000 |
| commit | f15ec3f4a28e7fbef8880d05bc163f7a8dda250d (patch) | |
| tree | bd428bf03d5cf605bec23fb5ee9c5297acec7740 /src/sp-guide.cpp | |
| parent | Build with GDKMM_DISABLE_DEPRECATED for all (diff) | |
| download | inkscape-f15ec3f4a28e7fbef8880d05bc163f7a8dda250d.tar.gz inkscape-f15ec3f4a28e7fbef8880d05bc163f7a8dda250d.zip | |
Fix build with C++11
Fixed bugs:
- https://launchpad.net/bugs/858814
(bzr r12166)
Diffstat (limited to 'src/sp-guide.cpp')
| -rw-r--r-- | src/sp-guide.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp index 7445b0b75..48596cbc0 100644 --- a/src/sp-guide.cpp +++ b/src/sp-guide.cpp @@ -280,10 +280,10 @@ sp_guide_create_guides_around_page(SPDesktop *dt) { Geom::Point B(C[Geom::X], 0); Geom::Point D(0, C[Geom::Y]); - pts.push_back(std::make_pair<Geom::Point, Geom::Point>(A, B)); - pts.push_back(std::make_pair<Geom::Point, Geom::Point>(B, C)); - pts.push_back(std::make_pair<Geom::Point, Geom::Point>(C, D)); - pts.push_back(std::make_pair<Geom::Point, Geom::Point>(D, A)); + pts.push_back(std::pair<Geom::Point, Geom::Point>(A, B)); + pts.push_back(std::pair<Geom::Point, Geom::Point>(B, C)); + pts.push_back(std::pair<Geom::Point, Geom::Point>(C, D)); + pts.push_back(std::pair<Geom::Point, Geom::Point>(D, A)); sp_guide_pt_pairs_to_guides(doc, pts); |
