Révision | 29438 (tree) |
---|---|
l'heure | 2022-08-03 03:33:00 |
Auteur | stefankueng |
make member function const
@@ -1,6 +1,6 @@ | ||
1 | 1 | // TortoiseBlame - a Viewer for Subversion Blames |
2 | 2 | |
3 | -// Copyright (C) 2003-2021 - TortoiseSVN | |
3 | +// Copyright (C) 2003-2022 - TortoiseSVN | |
4 | 4 | |
5 | 5 | // This program is free software; you can redistribute it and/or |
6 | 6 | // modify it under the terms of the GNU General Public License |
@@ -36,7 +36,6 @@ | ||
36 | 36 | #include "resource.h" |
37 | 37 | |
38 | 38 | #include <algorithm> |
39 | -#include <cctype> | |
40 | 39 | #include <regex> |
41 | 40 | #include <strsafe.h> |
42 | 41 | #include <dwmapi.h> |
@@ -1587,7 +1586,7 @@ | ||
1587 | 1586 | ReleaseDC(wBlame, hDC); |
1588 | 1587 | } |
1589 | 1588 | |
1590 | -void TortoiseBlame::DrawBlame(HDC hDC) | |
1589 | +void TortoiseBlame::DrawBlame(HDC hDC) const | |
1591 | 1590 | { |
1592 | 1591 | if (hDC == nullptr) |
1593 | 1592 | return; |
@@ -1,6 +1,6 @@ | ||
1 | 1 | // TortoiseBlame - a Viewer for Subversion Blames |
2 | 2 | |
3 | -// Copyright (C) 2003-2010, 2012-2014, 2017-2018, 2020-2021 - TortoiseSVN | |
3 | +// Copyright (C) 2003-2010, 2012-2014, 2017-2018, 2020-2022 - TortoiseSVN | |
4 | 4 | |
5 | 5 | // This program is free software; you can redistribute it and/or |
6 | 6 | // modify it under the terms of the GNU General Public License |
@@ -87,7 +87,7 @@ | ||
87 | 87 | void InitialiseEditor(); |
88 | 88 | void InitSize(); |
89 | 89 | LONG GetBlameWidth(); |
90 | - void DrawBlame(HDC hDC); | |
90 | + void DrawBlame(HDC hDC) const; | |
91 | 91 | void DrawHeader(HDC hDC) const; |
92 | 92 | void DrawLocatorBar(HDC hDC); |
93 | 93 | void StartSearch(); |