about summary refs log tree commit diff
path: root/src/libutil/compression.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/compression.hh')
-rw-r--r--src/libutil/compression.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/compression.hh b/src/libutil/compression.hh
index 33c465df8455..ed3c463865c1 100644
--- a/src/libutil/compression.hh
+++ b/src/libutil/compression.hh
@@ -7,9 +7,9 @@
 
 namespace nix {
 
-ref<std::string> compress(const std::string & method, ref<std::string> in);
+ref<std::string> compress(const std::string & method, const std::string & in);
 
-ref<std::string> decompress(const std::string & method, ref<std::string> in);
+ref<std::string> decompress(const std::string & method, const std::string & in);
 
 MakeError(UnknownCompressionMethod, Error);