mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-14 19:06:03 +00:00
Add const to src argument in cmd::CopyRegion ctor
This commit is contained in:
parent
5bd2a01446
commit
7f31bbef26
@ -18,7 +18,7 @@
|
||||
namespace app {
|
||||
namespace cmd {
|
||||
|
||||
CopyRegion::CopyRegion(Image* dst, Image* src,
|
||||
CopyRegion::CopyRegion(Image* dst, const Image* src,
|
||||
const gfx::Region& region, int dst_dx, int dst_dy)
|
||||
: WithImage(dst)
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Aseprite
|
||||
// Copyright (C) 2001-2015 David Capello
|
||||
// Copyright (C) 2001-2016 David Capello
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -22,7 +22,7 @@ namespace cmd {
|
||||
class CopyRegion : public Cmd
|
||||
, public WithImage {
|
||||
public:
|
||||
CopyRegion(Image* dst, Image* src,
|
||||
CopyRegion(Image* dst, const Image* src,
|
||||
const gfx::Region& region, int src_dx, int src_dy);
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user