From e3c24eb73177cd20ecc67e6af68c9c478d7b3f41 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 22 May 2020 15:11:30 +0200 Subject: [PATCH] fixed some warnings --- fake.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fake.cpp b/fake.cpp index a0aec331..5023844f 100644 --- a/fake.cpp +++ b/fake.cpp @@ -188,7 +188,7 @@ EX namespace fake { } }; - EX hrmap* new_map() { return new hrmap_fake; }; + EX hrmap* new_map() { return new hrmap_fake; } EX hrmap* get_umap() { if(!dynamic_cast(currentmap)) return nullptr; else return ((hrmap_fake*)currentmap)->underlying_map; } @@ -350,7 +350,6 @@ EX void compute_scale() { void set_gfake(ld _around) { cgi.require_basics(); - fake::scale = scale; underlying = geometry; underlying_cgip = cgip; ginf[gFake] = ginf[underlying];