-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
2,354 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// SPDX-FileCopyrightText: 2023 Robin Lindén <dev@robinlinden.eu> | ||
// | ||
// SPDX-License-Identifier: BSD-2-Clause | ||
|
||
#include "url/rtti_hack.h" | ||
|
||
template class icu::StringByteSink<std::string>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-FileCopyrightText: 2023 Robin Lindén <dev@robinlinden.eu> | ||
// | ||
// SPDX-License-Identifier: BSD-2-Clause | ||
|
||
#ifndef URL_RTTI_HACK_H_ | ||
#define URL_RTTI_HACK_H_ | ||
|
||
#include <unicode/bytestream.h> | ||
|
||
#include <string> | ||
|
||
// icu needs to be compiled w/ rtti, and that means that any templates of theirs | ||
// that we instantiate also require rtti, so we instantiate them here to try to | ||
// shield the rest of the codebase from that. | ||
extern template class icu::StringByteSink<std::string>; | ||
|
||
#endif |
Oops, something went wrong.