1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Allow building with libc++ r224926

PR:		ports/196625
Submitted by:	dim@
This commit is contained in:
Antoine Brodin 2015-01-09 17:55:09 +00:00
parent 2bba679987
commit c74aaf147a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376627
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/openhbci/core/bank.cpp.orig 2003-04-25 01:45:54 UTC
+++ src/openhbci/core/bank.cpp
@@ -39,7 +39,7 @@ instituteMessage::instituteMessage()
instituteMessage::~instituteMessage(){
}
-const bool instituteMessage::operator==(const instituteMessage &msg) {
+bool instituteMessage::operator==(const instituteMessage &msg) const {
return (_date == msg._date &&
0 == _time.compare(msg._time) &&
_subject == msg._subject &&

View File

@ -0,0 +1,11 @@
--- src/openhbci/core/bank.h.orig 2003-06-13 21:50:00 UTC
+++ src/openhbci/core/bank.h
@@ -97,7 +97,7 @@ public:
instituteMessage();
~instituteMessage();
- const bool operator==(const instituteMessage &msg);
+ bool operator==(const instituteMessage &msg) const;
/** Returns the Date of arrival. */
const Date &date() const { return _date;};