]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_utilities/lib/endian.h
Security-55471.14.8.tar.gz
[apple/security.git] / libsecurity_utilities / lib / endian.h
index 6e32decd920d5fdacc2b96e1ae74ff0626a8ad9a..c004658b96428257b057f6bd4dc844ea075e6ac2 100644 (file)
@@ -125,8 +125,10 @@ public:
     Endian() : mValue(Type(0)) { }
     Endian(Value v) : mValue(h2n(v)) { }
     
-    operator Value () const            { return n2h(mValue); }
+    Type get ()        const                   { return n2h(mValue); }
+    operator Value () const            { return this->get(); }
     Endian &operator = (Value v)       { mValue = h2n(v); return *this; }
+
     
 private:
     Value mValue;