gearman: fix `brew style` warning.

master
Mike McQuaid 2016-09-18 14:48:27 +01:00
parent 2630a465c1
commit 2b5d62f4a8
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Gearman < Formula
def install
# https://bugs.launchpad.net/gearmand/+bug/1368926
Dir["tests/**/*.cc", "libtest/main.cc"].each do |test_file|
next unless /std::unique_ptr/ === File.read(test_file)
next unless /std::unique_ptr/ =~ File.read(test_file)
inreplace test_file, "std::unique_ptr", "std::auto_ptr"
end