[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src config.hpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src config.hpp |
Date: |
Fri, 03 Dec 2004 02:22:22 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/12/03 07:15:48
Modified files:
src : config.hpp
Log message:
Add a missing operator==.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/config.hpp.diff?tr1=1.47&tr2=1.48&r1=text&r2=text
Patches:
Index: wesnoth/src/config.hpp
diff -u wesnoth/src/config.hpp:1.47 wesnoth/src/config.hpp:1.48
--- wesnoth/src/config.hpp:1.47 Thu Nov 18 04:08:32 2004
+++ wesnoth/src/config.hpp Fri Dec 3 07:15:47 2004
@@ -1,4 +1,4 @@
-/* $Id: config.hpp,v 1.47 2004/11/18 04:08:32 Sirp Exp $ */
+/* $Id: config.hpp,v 1.48 2004/12/03 07:15:47 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -66,6 +66,8 @@
: value(val), arguments(args) {}
std::string value;
std::vector<std::string> arguments;
+ bool operator==(preproc_define const &p) const
+ { return value == p.value && arguments == p.arguments; }
};
typedef std::map<std::string,preproc_define> preproc_map;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src config.hpp,
Guillaume Melquiond <=