diff --git a/tutorials/sql/SQLiteIPLocation.C b/tutorials/sql/SQLiteIPLocation.C index a6466df5333f99faddc710394f0cad5252b1be32..e20da15f70c93ccf2d57ee896e7863c7fe8a2311 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;";