diff options
Diffstat (limited to 'src/unstable/uuid.cpp')
| -rw-r--r-- | src/unstable/uuid.cpp | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/src/unstable/uuid.cpp b/src/unstable/uuid.cpp index c76bb15..41a35c2 100644 --- a/src/unstable/uuid.cpp +++ b/src/unstable/uuid.cpp | |||
| @@ -139,3 +139,15 @@ template<> bool Bu::__cmpHashKeys<Bu::Uuid>( const Bu::Uuid &a, const Bu::Uuid & | |||
| 139 | return a == b; | 139 | return a == b; | 
| 140 | } | 140 | } | 
| 141 | 141 | ||
| 142 | Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, Uuid &u ) | ||
| 143 | { | ||
| 144 | ar.read( u.data, 16 ); | ||
| 145 | return ar; | ||
| 146 | } | ||
| 147 | |||
| 148 | Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, const Uuid &u ) | ||
| 149 | { | ||
| 150 | ar.write( u.data, 16 ); | ||
| 151 | return ar; | ||
| 152 | } | ||
| 153 | |||
