From ceb9dfc890a16a224c0ba9b128da1250708f16c4 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Wed, 2 Nov 2016 22:37:22 +0900 Subject: [PATCH] Import Base.Iterators on v0.6 (#25) --- src/BenchmarkTools.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/BenchmarkTools.jl b/src/BenchmarkTools.jl index 48c48cfe..c73bbdb5 100644 --- a/src/BenchmarkTools.jl +++ b/src/BenchmarkTools.jl @@ -8,6 +8,10 @@ if VERSION < v"0.5.0-dev+4305" Base.get(io::IO, setting::Symbol, default::Bool) = default end +if VERSION >= v"0.6.0-dev.1015" + using Base.Iterators +end + const BENCHMARKTOOLS_VERSION = v"0.0.6" ##############