From f088d113f65a89ac8d93bdebdde81dcf57541dbb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 21 Jul 2008 17:27:59 +0000 Subject: [PATCH] Added non const getAuthenticationMap(). --- include/osgDB/Registry | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/osgDB/Registry b/include/osgDB/Registry index 2110f46fa..6b6f32472 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -350,6 +350,9 @@ class OSGDB_EXPORT Registry : public osg::Referenced /** Set the password map to be used by plugins when access files from secure locations.*/ void setAuthenticationMap(AuthenticationMap* authenticationMap) { _authenticationMap = authenticationMap; } + /** Get the password map to be used by plugins when access files from secure locations.*/ + AuthenticationMap* getAuthenticationMap() { return _authenticationMap.get(); } + /** Get the password map to be used by plugins when access files from secure locations.*/ const AuthenticationMap* getAuthenticationMap() const { return _authenticationMap.get(); }