From fa32393787520001456620d8a0f916ab49d69b2c Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Mon, 1 Feb 2016 19:51:50 +0300 Subject: [PATCH] IZServer for debug builds. --- editor/osm_auth.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/osm_auth.cpp b/editor/osm_auth.cpp index 57664a7621..c2a6d5ebf3 100644 --- a/editor/osm_auth.cpp +++ b/editor/osm_auth.cpp @@ -91,7 +91,11 @@ OsmOAuth::OsmOAuth(string const & consumerKey, string const & consumerSecret, // static OsmOAuth OsmOAuth::ServerAuth() noexcept { +#ifdef DEBUG + return IZServerAuth(); +#else return ProductionServerAuth(); +#elif } // static OsmOAuth OsmOAuth::ServerAuth(TKeySecret const & userKeySecret) noexcept