gearman: fix style
parent
f1d8c5fb56
commit
558cb1c2c0
|
@ -39,7 +39,7 @@ class Gearman < Formula
|
|||
|
||||
# https://bugs.launchpad.net/gearmand/+bug/1368926
|
||||
Dir["tests/**/*.cc", "libtest/main.cc"].each do |test_file|
|
||||
next unless /std::unique_ptr/.match?(File.read(test_file))
|
||||
next unless File.read(test_file).include?("std::unique_ptr")
|
||||
|
||||
inreplace test_file, "std::unique_ptr", "std::auto_ptr"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue