]> git.pld-linux.org Git - packages/ekglog.git/commitdiff
- fixed inline usage (link error with -O2)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 3 Nov 2003 09:21:33 +0000 (09:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ekglog-inline.patch -> 1.1

ekglog-inline.patch [new file with mode: 0644]

diff --git a/ekglog-inline.patch b/ekglog-inline.patch
new file mode 100644 (file)
index 0000000..6808d63
--- /dev/null
@@ -0,0 +1,42 @@
+--- ekglog-20031103/src/command.cc.orig        Fri Oct 17 18:06:20 2003
++++ ekglog-20031103/src/command.cc     Mon Nov  3 10:19:45 2003
+@@ -28,19 +28,6 @@
+ command_base::~command_base() {}
+-/*
+- * command::is_equal()
+- * operator==()
+- *
+- * czy identyfikator komendy odpowiada podanemu stringowi
+- *
+- *  - str - string do sprawdzenia
+- */
+-inline bool command_base::is_equal(const std::string &str) const {
+-    return _id == str;
+-}
+-
+-
+ bool operator==(const command_base &c, const std::string &str) {
+     return c.is_equal(str);
+ }
+--- ekglog-20031103/src/command.hh.orig        Sat Nov  1 21:08:05 2003
++++ ekglog-20031103/src/command.hh     Mon Nov  3 10:19:45 2003
+@@ -60,7 +60,16 @@
+     const std::string &name(void)
+       { return _id; }
+-    bool is_equal(const std::string &str) const;
++/*
++ * command::is_equal()
++ * operator==()
++ *
++ * czy identyfikator komendy odpowiada podanemu stringowi
++ *
++ *  - str - string do sprawdzenia
++ */
++    bool is_equal(const std::string &str) const
++      { return _id == str; }
+ protected:
This page took 0.102733 seconds and 4 git commands to generate.