From 7fcb947b37fda55e817ff9d435dd3b3c0bb6e250 Mon Sep 17 00:00:00 2001
From: Olivier Couet <olivier.couet@gmail.com>
Date: Fri, 7 Sep 2018 17:23:38 +0200
Subject: [PATCH] The file containing the world map should be accessed
 remotely.

---
 tutorials/sql/SQLiteIPLocation.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tutorials/sql/SQLiteIPLocation.C b/tutorials/sql/SQLiteIPLocation.C
index a6466df5333..e20da15f70c 100644
--- a/tutorials/sql/SQLiteIPLocation.C
+++ b/tutorials/sql/SQLiteIPLocation.C
@@ -29,7 +29,7 @@ void SQLiteIPLocation() {
 
    TSQLServer *db = TSQLServer::Connect("root_download_stats.sqlite", "", "");
 
-   auto F = new TFile("WMCountry.root");
+   TFile *F = TFile::Open("http://root.cern.ch/files/WM.root");
    TH2Poly *WM;
    WM = (TH2Poly*) F->Get("WM");
    const char *location = "SELECT IPLatitude, IPLongitude FROM accesslog;";
-- 
GitLab