Mercurial > octave-nkf
comparison libinterp/corefcn/jit-typeinfo.cc @ 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 | 8d98ebeceab4 c31fe3239c8b |
comparison
equal
deleted
inserted
replaced
18221:6ef8b920a7d6 | 18222:4d90e104bf35 |
---|---|
914 return 0; | 914 return 0; |
915 } | 915 } |
916 | 916 |
917 bool | 917 bool |
918 jit_operation::signature_cmp | 918 jit_operation::signature_cmp |
919 ::operator() (const signature_vec *lhs, const signature_vec *rhs) | 919 ::operator() (const signature_vec *lhs, const signature_vec *rhs) const |
920 { | 920 { |
921 const signature_vec& l = *lhs; | 921 const signature_vec& l = *lhs; |
922 const signature_vec& r = *rhs; | 922 const signature_vec& r = *rhs; |
923 | 923 |
924 if (l.size () < r.size ()) | 924 if (l.size () < r.size ()) |