mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
Ladybird+Userland: Use ByteString for candidate server paths
We've adopted a stance that paths should be ByteStrings rather than UTF-8 strings, so apply that to the Ladybird helpers.
This commit is contained in:
parent
1e0dd9aa8c
commit
0a55749a39
10 changed files with 30 additions and 31 deletions
|
@ -30,7 +30,7 @@ class Database : public RefCounted<Database> {
|
|||
public:
|
||||
static ErrorOr<NonnullRefPtr<Database>> create();
|
||||
#if !defined(AK_OS_SERENITY)
|
||||
static ErrorOr<NonnullRefPtr<Database>> create(Vector<String> candidate_sql_server_paths);
|
||||
static ErrorOr<NonnullRefPtr<Database>> create(Vector<ByteString> candidate_sql_server_paths);
|
||||
#endif
|
||||
|
||||
ErrorOr<SQL::StatementID> prepare_statement(StringView statement);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue