mirror of https://github.com/djcb/mu.git
message: cosmetics
This commit is contained in:
parent
d873c231ee
commit
8c3d1ae90a
|
@ -33,8 +33,8 @@
|
|||
|
||||
using namespace Mu;
|
||||
|
||||
constexpr char SepaChar1 = 0xfe;
|
||||
constexpr char SepaChar2 = 0xff;
|
||||
constexpr uint8_t SepaChar1 = 0xfe;
|
||||
constexpr uint8_t SepaChar2 = 0xff;
|
||||
|
||||
static void
|
||||
add_search_term(Xapian::Document& doc, const Field& field, const std::string& val)
|
||||
|
@ -329,8 +329,8 @@ Document::remove(Field::Id field_id)
|
|||
xapian_try([&]{
|
||||
|
||||
if (auto&& val{xdoc_.get_value(field.value_no())}; !val.empty()) {
|
||||
g_debug("removing value<%u>: '%s'", field.value_no(),
|
||||
val.c_str());
|
||||
// g_debug("removing value<%u>: '%s'", field.value_no(),
|
||||
// val.c_str());
|
||||
xdoc_.remove_value(field.value_no());
|
||||
}
|
||||
|
||||
|
@ -343,7 +343,7 @@ Document::remove(Field::Id field_id)
|
|||
}
|
||||
|
||||
for (auto&& term: kill_list) {
|
||||
g_debug("removing term '%s'", term.c_str());
|
||||
// g_debug("removing term '%s'", term.c_str());
|
||||
try {
|
||||
xdoc_.remove_term(term);
|
||||
} catch(const Xapian::InvalidArgumentError& xe) {
|
||||
|
|
|
@ -38,8 +38,6 @@ Mu::to_string(Flags flags)
|
|||
return str;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* The file-components, ie.
|
||||
* 1631819685.fb7b279bbb0a7b66.evergrey:2,RS
|
||||
|
@ -53,7 +51,7 @@ Mu::to_string(Flags flags)
|
|||
struct FileParts {
|
||||
std::string base;
|
||||
char separator;
|
||||
std::string flags_suffix;;
|
||||
std::string flags_suffix;
|
||||
};
|
||||
|
||||
static FileParts
|
||||
|
|
Loading…
Reference in New Issue