Skip to content

Commit 2114c62

Browse files
committed
Resolves #61.
1 parent b953df3 commit 2114c62

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

P0267_RefImpl/P0267_RefImpl/xio2d_impl.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2547,17 +2547,6 @@ namespace std::experimental::io2d {
25472547
ec.clear();
25482548
}
25492549

2550-
inline void mapped_surface::commit_changes(const bounding_box& area) {
2551-
cairo_surface_mark_dirty_rectangle(_Mapped_surface.csfce, static_cast<int>(area.x()), static_cast<int>(area.y()),
2552-
static_cast<int>(area.width()), static_cast<int>(area.height()));
2553-
}
2554-
2555-
inline void mapped_surface::commit_changes(const bounding_box& area, error_code& ec) noexcept {
2556-
cairo_surface_mark_dirty_rectangle(_Mapped_surface.csfce, static_cast<int>(area.x()), static_cast<int>(area.y()),
2557-
static_cast<int>(area.width()), static_cast<int>(area.height()));
2558-
ec.clear();
2559-
}
2560-
25612550
inline unsigned char* mapped_surface::data() {
25622551
auto result = cairo_image_surface_get_data(_Mapped_surface.csfce);
25632552
if (result == nullptr) {

P0267_RefImpl/P0267_RefImpl/xsurfaces.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,6 @@ namespace std::experimental::io2d {
451451
mapped_surface& operator=(const mapped_surface&) = delete;
452452
mapped_surface(mapped_surface&& other) = delete;
453453
mapped_surface& operator=(mapped_surface&& other) = delete;
454-
void commit_changes(const bounding_box& area);
455-
void commit_changes(const bounding_box& area, ::std::error_code& ec) noexcept;
456454

457455
mapped_surface() = delete;
458456
~mapped_surface();

0 commit comments

Comments
 (0)