From f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7 Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Fri, 25 Nov 2016 15:48:27 +0100 Subject: Get rid of unicode quotes (#1140) --- src/libutil/compression.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libutil/compression.cc') diff --git a/src/libutil/compression.cc b/src/libutil/compression.cc index a3bbb5170..0532c9699 100644 --- a/src/libutil/compression.cc +++ b/src/libutil/compression.cc @@ -107,7 +107,7 @@ ref decompress(const std::string & method, const std::string & in) else if (method == "bzip2") return decompressBzip2(in); else - throw UnknownCompressionMethod(format("unknown compression method ā€˜%sā€™") % method); + throw UnknownCompressionMethod(format("unknown compression method '%s'") % method); } struct NoneSink : CompressionSink @@ -270,7 +270,7 @@ ref makeCompressionSink(const std::string & method, Sink & next else if (method == "bzip2") return make_ref(nextSink); else - throw UnknownCompressionMethod(format("unknown compression method ā€˜%sā€™") % method); + throw UnknownCompressionMethod(format("unknown compression method '%s'") % method); } } -- cgit v1.2.3