Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Resolves issue #65
Browse files Browse the repository at this point in the history
  • Loading branch information
larryk85 committed Aug 29, 2018
1 parent 0d4befe commit 660b3d8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions libraries/eosiolib/datastream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class datastream<size_t> {
* @return datastream<Stream>& - Reference to the datastream
*/
template<typename Stream>
inline datastream<Stream>& operator<<(datastream<Stream>& ds, const public_key pubkey) {
inline datastream<Stream>& operator<<(datastream<Stream>& ds, const ::public_key pubkey) {
ds.write( (const char*)&pubkey, sizeof(pubkey));
return ds;
}
Expand All @@ -286,7 +286,7 @@ inline datastream<Stream>& operator<<(datastream<Stream>& ds, const public_key p
* @return datastream<Stream>& - Reference to the datastream
*/
template<typename Stream>
inline datastream<Stream>& operator>>(datastream<Stream>& ds, public_key& pubkey) {
inline datastream<Stream>& operator>>(datastream<Stream>& ds, ::public_key& pubkey) {
ds.read((char*)&pubkey, sizeof(pubkey));
return ds;
}
Expand Down Expand Up @@ -362,7 +362,7 @@ inline datastream<Stream>& operator>>(datastream<Stream>& ds, bool& d) {
* @return datastream<Stream>& - Reference to the datastream
*/
template<typename Stream>
inline datastream<Stream>& operator<<(datastream<Stream>& ds, const checksum256& d) {
inline datastream<Stream>& operator<<(datastream<Stream>& ds, const ::checksum256& d) {
ds.write( (const char*)&d.hash[0], sizeof(d.hash) );
return ds;
}
Expand All @@ -377,7 +377,7 @@ inline datastream<Stream>& operator<<(datastream<Stream>& ds, const checksum256&
* @return datastream<Stream>& - Reference to the datastream
*/
template<typename Stream>
inline datastream<Stream>& operator>>(datastream<Stream>& ds, checksum256& d) {
inline datastream<Stream>& operator>>(datastream<Stream>& ds, ::checksum256& d) {
ds.read((char*)&d.hash[0], sizeof(d.hash) );
return ds;
}
Expand Down Expand Up @@ -966,7 +966,7 @@ bytes pack( const T& value ) {
* @return datastream<Stream>& - Reference to the datastream
*/
template<typename Stream>
inline datastream<Stream>& operator<<(datastream<Stream>& ds, const checksum160& cs) {
inline datastream<Stream>& operator<<(datastream<Stream>& ds, const ::checksum160& cs) {
ds.write((const char*)&cs.hash[0], sizeof(cs.hash));
return ds;
}
Expand All @@ -981,7 +981,7 @@ inline datastream<Stream>& operator<<(datastream<Stream>& ds, const checksum160&
* @return datastream<Stream>& - Reference to the datastream
*/
template<typename Stream>
inline datastream<Stream>& operator>>(datastream<Stream>& ds, checksum160& cs) {
inline datastream<Stream>& operator>>(datastream<Stream>& ds, ::checksum160& cs) {
ds.read((char*)&cs.hash[0], sizeof(cs.hash));
return ds;
}
Expand All @@ -996,7 +996,7 @@ inline datastream<Stream>& operator>>(datastream<Stream>& ds, checksum160& cs) {
* @return datastream<Stream>& - Reference to the datastream
*/
template<typename Stream>
inline datastream<Stream>& operator<<(datastream<Stream>& ds, const checksum512& cs) {
inline datastream<Stream>& operator<<(datastream<Stream>& ds, const ::checksum512& cs) {
ds.write((const char*)&cs.hash[0], sizeof(cs.hash));
return ds;
}
Expand All @@ -1011,7 +1011,7 @@ inline datastream<Stream>& operator<<(datastream<Stream>& ds, const checksum512&
* @return datastream<Stream>& - Reference to the datastream
*/
template<typename Stream>
inline datastream<Stream>& operator>>(datastream<Stream>& ds, checksum512& cs) {
inline datastream<Stream>& operator>>(datastream<Stream>& ds, ::checksum512& cs) {
ds.read((char*)&cs.hash[0], sizeof(cs.hash));
return ds;
}
Expand Down

0 comments on commit 660b3d8

Please sign in to comment.