summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-third__party_snappy_src_snappy.h
blob: 0720557b3dad71e355ee7e0b8593e63c7f887a96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- third_party/snappy/src/snappy.h.orig	2019-05-05 07:27:10 UTC
+++ third_party/snappy/src/snappy.h
@@ -73,7 +73,7 @@ namespace snappy {
   // Original contents of *output are lost.
   //
   // REQUIRES: "input[]" is not an alias of "*output".
-  size_t Compress(const char* input, size_t input_length, string* output);
+  size_t Compress(const char* input, size_t input_length, std::string* output);
 
   // Decompresses "compressed[0,compressed_length-1]" to "*uncompressed".
   // Original contents of "*uncompressed" are lost.
@@ -82,7 +82,7 @@ namespace snappy {
   //
   // returns false if the message is corrupted and could not be decompressed
   bool Uncompress(const char* compressed, size_t compressed_length,
-                  string* uncompressed);
+                  std::string* uncompressed);
 
   // Decompresses "compressed" to "*uncompressed".
   //