Mercurial > octave-nkf
diff libinterp/corefcn/jit-typeinfo.h @ 18222:4d90e104bf35 gui-release
Allow jit-typeinfo.h to compile with clang on OS X (bug #41114)
* jit-typeinfo.h, jit-typeinfo.cc
(jit_operation::signature_cmp::operator()): Now const.
author | Michael C. Grant <mcg@cvxr.com> |
---|---|
date | Sun, 05 Jan 2014 17:43:18 -0600 |
parents | 175b392e91fe |
children | c31fe3239c8b 6b2cee8c110e 4197fc428c7d |
line wrap: on
line diff
--- a/libinterp/corefcn/jit-typeinfo.h Tue Aug 20 18:57:48 2013 +0200 +++ b/libinterp/corefcn/jit-typeinfo.h Sun Jan 05 17:43:18 2014 -0600 @@ -372,7 +372,7 @@ 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>