oschaaf commented on a change in pull request #1998:
URL: 
https://github.com/apache/incubator-pagespeed-mod/pull/1998#discussion_r459143108



##########
File path: net/instaweb/rewriter/dedup_inlined_images_filter_test.cc
##########
@@ -39,10 +39,10 @@ namespace net_instaweb {
 namespace {
 
 // Filenames of resource files.
-const char kCuppaPngFilename[] = "Cuppa.png";
-const char kPuzzleJpgFilename[] = "Puzzle.jpg";
+constexpr absl::string_view kCuppaPngFilename = "Cuppa.png";

Review comment:
       These are needed for analysis::StrFormat to get compile time checking of 
the format string. See https://abseil.io/docs/cpp/guides/format, which mentions 
it




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to