summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-third__party_snappy_src_snappy.h
blob: df563c71e1cbf42ee6f4225378c35e63a17fdc65 (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-03-19 09:09:00 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".
   //