[aseprite] 156/196: Add const to src argument in cmd::CopyRegion ctor
Tobias Hansen
thansen at moszumanska.debian.org
Wed Apr 20 18:50:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 7f31bbef2601ec5717b7a96f946d2149e665db69
Author: David Capello <davidcapello at gmail.com>
Date: Wed Apr 6 18:30:00 2016 -0300
Add const to src argument in cmd::CopyRegion ctor
---
src/app/cmd/copy_region.cpp | 2 +-
src/app/cmd/copy_region.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/app/cmd/copy_region.cpp b/src/app/cmd/copy_region.cpp
index 1e47943..e50f8bc 100644
--- a/src/app/cmd/copy_region.cpp
+++ b/src/app/cmd/copy_region.cpp
@@ -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)
{
diff --git a/src/app/cmd/copy_region.h b/src/app/cmd/copy_region.h
index 2351576..489abec 100644
--- a/src/app/cmd/copy_region.h
+++ b/src/app/cmd/copy_region.h
@@ -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:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list