Skip to content

Commit

Permalink
CBL-4721: UnicodeCollator_Stub.cc fails when building couchbase-mobil…
Browse files Browse the repository at this point in the history
…e-tools/logcat on ubuntu. (#1839)
  • Loading branch information
jianminzhao authored Jul 14, 2023
1 parent 42d66b0 commit 1604640
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions LiteCore/Storage/UnicodeCollator_Stub.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ namespace litecore {

using namespace std;

int CompareUTF8(slice str1, slice str2, const CollationContext&) { error::_throw(error::Unimplemented); }
int CompareUTF8(fleece::slice str1, fleece::slice str2, const CollationContext&) {
error::_throw(error::Unimplemented);
}

bool ContainsUTF8(slice str, slice substr, const CollationContext&) { error::_throw(error::Unimplemented); }
bool ContainsUTF8(fleece::slice str, fleece::slice substr, const CollationContext&) {
error::_throw(error::Unimplemented);
}

unique_ptr<CollationContext> RegisterSQLiteUnicodeCollation(sqlite3* dbHandle, const Collation& coll) {
return nullptr;
Expand Down

0 comments on commit 1604640

Please sign in to comment.