Skip to content

Commit 8a1b620

Browse files
committed
[Localization] Serialization writer should own the inserted data
1 parent 8ee4e93 commit 8a1b620

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/AST/LocalizationFormat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ using namespace llvm::support;
3636

3737
class LocalizationWriterInfo {
3838
public:
39-
using key_type = llvm::StringRef;
39+
using key_type = std::string;
4040
using key_type_ref = key_type;
41-
using data_type = llvm::StringRef;
41+
using data_type = std::string;
4242
using data_type_ref = data_type;
4343
using hash_value_type = uint32_t;
4444
using offset_type = uint32_t;

0 commit comments

Comments
 (0)