1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

changed some functions to suppress warnings

This commit is contained in:
ser1zw 2011-09-18 06:14:06 +09:00
parent bd1f2c7a34
commit ca6b5daca1
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ by_code(int error_code)
void
raise(cv::Exception e)
{
rb_raise(by_code(e.code), e.what());
rb_raise(by_code(e.code), "%s", e.what());
}
__NAMESPACE_END_CVERROR