1) terminate called after throwing an instance of
'std::logic_error'
what():
basic_string::_M_construct null not valid 原来的代码: std::string
type_filter = argv[1]; //std::string
type_filter = "sobel";
Filter filter; int
option; type_filter
= "sobel"; 报了上面的错,改成下面的代码:
//std::string type_filter = argv[1]; std::string
type_filter = "sobel";
Filter filter; int
option;
//type_filter = "sobel"; |
说点什么...