Formatting fixes, ToBE() replaced with data()

This commit is contained in:
Nekotekina
2015-01-13 17:54:36 +03:00
parent f4c712dafc
commit 1c4e89d2bf
32 changed files with 166 additions and 158 deletions
+1 -5
View File
@@ -551,12 +551,12 @@ private:
}
};
public:
const stype& ToBE() const
{
return m_data;
}
public:
type ToLE() const
{
return se_t<type, sizeof(T2)>::from_be(m_data);
@@ -605,11 +605,7 @@ public:
const stype& data() const
{
#ifdef IS_LE_MACHINE
return ToBE();
#else
return ToLE();
#endif
}
be_t& operator = (const be_t& value) = default;