diff options
Diffstat (limited to 'OpenSim/Framework/OSUUID.cs')
-rw-r--r-- | OpenSim/Framework/OSUUID.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/OSUUID.cs b/OpenSim/Framework/OSUUID.cs index 8a45290..2a69671 100644 --- a/OpenSim/Framework/OSUUID.cs +++ b/OpenSim/Framework/OSUUID.cs | |||
@@ -10,10 +10,12 @@ using libsecondlife; | |||
10 | namespace OpenSim.Framework | 10 | namespace OpenSim.Framework |
11 | { | 11 | { |
12 | [Serializable] | 12 | [Serializable] |
13 | public struct OSUUID: IComparable | 13 | public class OSUUID: IComparable |
14 | { | 14 | { |
15 | public Guid UUID; | 15 | public Guid UUID; |
16 | 16 | ||
17 | public OSUUID() {} | ||
18 | |||
17 | /* Constructors */ | 19 | /* Constructors */ |
18 | public OSUUID(string s) | 20 | public OSUUID(string s) |
19 | { | 21 | { |
@@ -39,7 +41,7 @@ namespace OpenSim.Framework | |||
39 | } | 41 | } |
40 | 42 | ||
41 | // out conversion | 43 | // out conversion |
42 | public string ToString() | 44 | public override string ToString() |
43 | { | 45 | { |
44 | return UUID.ToString(); | 46 | return UUID.ToString(); |
45 | } | 47 | } |