indent and decls

This commit is contained in:
Jean-Francois Dockes
2020-04-05 13:46:47 +01:00
parent a468406e17
commit 6999284c42
4 changed files with 14 additions and 17 deletions
+5 -7
View File
@@ -40,9 +40,7 @@ public:
* @param op defines if we remove diacritics, case or both
*/
SynTermTransUnac(UnacOp op)
: m_op(op)
{
}
: m_op(op) { }
virtual std::string name() {
std::string nm("Unac: ");
if (m_op & UNACOP_UNAC)
@@ -51,11 +49,11 @@ public:
nm += "FOLD ";
return nm;
}
virtual std::string operator()(const std::string& in)
{
string out;
virtual std::string operator()(const std::string& in) {
std::string out;
unacmaybefold(in, out, "UTF-8", m_op);
LOGDEB2("SynTermTransUnac(" << (int(m_op)) << "): in [" << (in) << "] out [" << (out) << "]\n" );
LOGDEB2("SynTermTransUnac(" << m_op << "): in [" << in << "] out [" <<
out << "]\n");
return out;
}
UnacOp m_op;
+1
View File
@@ -24,6 +24,7 @@
#include "stoplist.h"
#include "smallut.h"
#include "utf8iter.h"
#include "unacpp.h"
namespace Rcl {