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:
parent
bd1f2c7a34
commit
ca6b5daca1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue