Commit 9f51f7b4 authored by Roland Levillain's avatar Roland Levillain
Browse files

Work around an overload resolution problem reported by g++ 4.7.

	* src/debug/show_separators.cc,
	* src/util/component_precise_outline.cc:
	Here.
parent 279bb010
2012-10-09 Roland Levillain <roland@lrde.epita.fr>
Work around an overload resolution problem reported by g++ 4.7.
* src/debug/show_separators.cc,
* src/util/component_precise_outline.cc:
Here.
2011-12-06 Guillaume Lazzara <z@lrde.epita.fr> 2011-12-06 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/text/recognition.hh: Restore previous locale. * scribo/text/recognition.hh: Restore previous locale.
......
...@@ -75,7 +75,10 @@ int main(int argc, char *argv[]) ...@@ -75,7 +75,10 @@ int main(int argc, char *argv[])
v_lines += h_lines; v_lines += h_lines;
t.stop(); t.stop();
std::cout << t << "s" << std::endl; /* FIXME: Help the compiler to ``unproxy' the float stored in the
timer. There is a problem with an overload resolution of
`mln::unproxy_rec' here. */
std::cout << t.read() << "s" << std::endl;
// Save binary image. // Save binary image.
io::pbm::save(v_lines, argv[2]); io::pbm::save(v_lines, argv[2]);
......
...@@ -70,7 +70,10 @@ int main(int argc, char *argv[]) ...@@ -70,7 +70,10 @@ int main(int argc, char *argv[])
par_t par = scribo::util::component_precise_outline(input); par_t par = scribo::util::component_precise_outline(input);
t.stop(); t.stop();
std::cout << t << std::endl; /* FIXME: Help the compiler to ``unproxy' the float stored in the
timer. There is a problem with an overload resolution of
`mln::unproxy_rec' here. */
std::cout << t.read() << std::endl;
image2d<value::rgb8> input_rgb = data::convert(value::rgb8(), input); image2d<value::rgb8> input_rgb = data::convert(value::rgb8(), input);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment