Commit 26bb7741 authored by Roland Levillain's avatar Roland Levillain
Browse files

Provide default arguments in function declarations only.

	* scribo/core/line_info.hh (scribo::line_info<L>::update_text)
	* scribo/text/recognition.hh (scribo::text::recognition):
	Here.
parent d3418e80
2013-06-20 Roland Levillain <roland@lrde.epita.fr>
Provide default arguments in function declarations only.
* scribo/core/line_info.hh (scribo::line_info<L>::update_text)
* scribo/text/recognition.hh (scribo::text::recognition):
Here.
2013-06-20 Roland Levillain <roland@lrde.epita.fr>
Disable unused arguments.
......
// Copyright (C) 2009, 2010, 2011, 2012 EPITA Research and Development
// Copyright (C) 2009, 2010, 2011, 2012, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
......@@ -243,7 +243,7 @@ namespace scribo
float text_confidence() const;
const std::string& text() const;
const std::string& html_text() const;
void update_text(const std::string& str, float confidence);
void update_text(const std::string& str, float confidence = 100.0f);
bool is_valid() const;
......@@ -783,7 +783,7 @@ namespace scribo
template <typename L>
void
line_info<L>::update_text(const std::string& str, float confidence = 100.0)
line_info<L>::update_text(const std::string& str, float confidence)
{
data_->text_confidence_ = confidence;
data_->text_ = str;
......
......@@ -371,7 +371,7 @@ namespace scribo
void
recognition(const Image<I>& line_,
const char *language,
const std::string& output_file = std::string())
const std::string& output_file)
{
mln_trace("scribo::text::recognition");
......
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