• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Révision29438 (tree)
l'heure2022-08-03 03:33:00
Auteurstefankueng

Message de Log

make member function const

Change Summary

Modification

--- trunk/src/TortoiseBlame/TortoiseBlame.cpp (revision 29437)
+++ trunk/src/TortoiseBlame/TortoiseBlame.cpp (revision 29438)
@@ -1,6 +1,6 @@
11 // TortoiseBlame - a Viewer for Subversion Blames
22
3-// Copyright (C) 2003-2021 - TortoiseSVN
3+// Copyright (C) 2003-2022 - TortoiseSVN
44
55 // This program is free software; you can redistribute it and/or
66 // modify it under the terms of the GNU General Public License
@@ -36,7 +36,6 @@
3636 #include "resource.h"
3737
3838 #include <algorithm>
39-#include <cctype>
4039 #include <regex>
4140 #include <strsafe.h>
4241 #include <dwmapi.h>
@@ -1587,7 +1586,7 @@
15871586 ReleaseDC(wBlame, hDC);
15881587 }
15891588
1590-void TortoiseBlame::DrawBlame(HDC hDC)
1589+void TortoiseBlame::DrawBlame(HDC hDC) const
15911590 {
15921591 if (hDC == nullptr)
15931592 return;
--- trunk/src/TortoiseBlame/TortoiseBlame.h (revision 29437)
+++ trunk/src/TortoiseBlame/TortoiseBlame.h (revision 29438)
@@ -1,6 +1,6 @@
11 // TortoiseBlame - a Viewer for Subversion Blames
22
3-// Copyright (C) 2003-2010, 2012-2014, 2017-2018, 2020-2021 - TortoiseSVN
3+// Copyright (C) 2003-2010, 2012-2014, 2017-2018, 2020-2022 - TortoiseSVN
44
55 // This program is free software; you can redistribute it and/or
66 // modify it under the terms of the GNU General Public License
@@ -87,7 +87,7 @@
8787 void InitialiseEditor();
8888 void InitSize();
8989 LONG GetBlameWidth();
90- void DrawBlame(HDC hDC);
90+ void DrawBlame(HDC hDC) const;
9191 void DrawHeader(HDC hDC) const;
9292 void DrawLocatorBar(HDC hDC);
9393 void StartSearch();
Afficher sur ancien navigateur de dépôt.