Last active
January 2, 2016 16:09
-
-
Save mcg1969/8328094 to your computer and use it in GitHub Desktop.
Patch for libinterp/corefcn/jit-typeinfo.{cc,h}, Octave 3.8.0 build.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libinterp/corefcn/jit-typeinfo.cc b/libinterp/corefcn/jit-typeinfo.cc | |
index 77a3cf4..911f3b2 100644 | |
--- a/libinterp/corefcn/jit-typeinfo.cc | |
+++ b/libinterp/corefcn/jit-typeinfo.cc | |
@@ -916,7 +916,7 @@ jit_operation::generate (const signature_vec&) const | |
bool | |
jit_operation::signature_cmp | |
-::operator() (const signature_vec *lhs, const signature_vec *rhs) | |
+::operator() (const signature_vec *lhs, const signature_vec *rhs) const | |
{ | |
const signature_vec& l = *lhs; | |
const signature_vec& r = *rhs; | |
diff --git a/libinterp/corefcn/jit-typeinfo.h b/libinterp/corefcn/jit-typeinfo.h | |
index 2799e68..95e7914 100644 | |
--- a/libinterp/corefcn/jit-typeinfo.h | |
+++ b/libinterp/corefcn/jit-typeinfo.h | |
@@ -372,7 +372,7 @@ private: | |
struct signature_cmp | |
{ | |
- bool operator() (const signature_vec *lhs, const signature_vec *rhs); | |
+ bool operator() (const signature_vec *lhs, const signature_vec *rhs) const; | |
}; | |
typedef std::map<const signature_vec *, jit_function *, signature_cmp> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment