[CalendarServer-changes] [3726] PyOpenDirectory/trunk/src/CDirectoryServiceAuth.h
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 24 13:38:05 PST 2009
Revision: 3726
http://trac.macosforge.org/projects/calendarserver/changeset/3726
Author: cdaboo at apple.com
Date: 2009-02-24 13:38:05 -0800 (Tue, 24 Feb 2009)
Log Message:
-----------
map needs to use std::string to use actual string data as the key rather than pointer value.
Modified Paths:
--------------
PyOpenDirectory/trunk/src/CDirectoryServiceAuth.h
Modified: PyOpenDirectory/trunk/src/CDirectoryServiceAuth.h
===================================================================
--- PyOpenDirectory/trunk/src/CDirectoryServiceAuth.h 2009-02-24 21:33:24 UTC (rev 3725)
+++ PyOpenDirectory/trunk/src/CDirectoryServiceAuth.h 2009-02-24 21:38:05 UTC (rev 3726)
@@ -22,6 +22,7 @@
#include "CDirectoryService.h"
#include <map>
+#include <string>
class CDirectoryServiceAuth : public CDirectoryService
{
@@ -34,7 +35,7 @@
protected:
- typedef std::map<const char*, tDirNodeReference> TNodeMap;
+ typedef std::map<std::string, tDirNodeReference> TNodeMap;
TNodeMap mNodeMap;
bool NativeAuthenticationBasicToNode(const char* nodename, const char* user, const char* pswd);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090224/5a0eff2d/attachment-0001.html>
More information about the calendarserver-changes
mailing list