You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2020/07/22 23:39:29 UTC

[GitHub] [incubator-pagespeed-mod] oschaaf commented on a change in pull request #1998: Several modernizations

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:
users@infra.apache.org