From 93a5213b995d6e89db0b42365ea89f9555189c7b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 27 Nov 2017 10:32:02 +0000 Subject: [PATCH] Build fix --- examples/osgvnc/osgvnc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgvnc/osgvnc.cpp b/examples/osgvnc/osgvnc.cpp index 35089afb9..52d424178 100644 --- a/examples/osgvnc/osgvnc.cpp +++ b/examples/osgvnc/osgvnc.cpp @@ -54,7 +54,7 @@ int main(int argc,char** argv) { } - std::string url, username, password; + std::string url, username; while (arguments.read("--login", url, username, password)) { osgDB::Registry::instance()->getOrCreateAuthenticationMap()->addAuthenticationDetails( @@ -71,7 +71,7 @@ int main(int argc,char** argv) if (!password.empty()) { - const osgDB::AuthenticationMap* authenticationMap = osgDB::Registry::instance()->getOrCreateAuthenticationMap(); + osgDB::AuthenticationMap* authenticationMap = osgDB::Registry::instance()->getOrCreateAuthenticationMap(); const osgDB::AuthenticationDetails* details = authenticationMap->getAuthenticationDetails(hostname); if (details == NULL) {