aboutsummaryrefslogtreecommitdiff
path: root/mysql/types/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-28 18:36:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-28 18:36:11 +0200
commit473739b257dc50522a514ec5595eb47b94d01d9b (patch)
treefe298e4488677b8d795b86c45925febdb70dd085 /mysql/types/test.hxx
parent0bda919deabcca2769088b90496538ea37393630 (diff)
Extract bit-field in endian-portable manner
Diffstat (limited to 'mysql/types/test.hxx')
-rw-r--r--mysql/types/test.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql/types/test.hxx b/mysql/types/test.hxx
index 8f3c632..d950a9a 100644
--- a/mysql/types/test.hxx
+++ b/mysql/types/test.hxx
@@ -38,7 +38,7 @@ struct date_time
}
bool
- operator== (const date_time& y)
+ operator== (const date_time& y) const
{
return
negative == y.negative &&
@@ -126,7 +126,7 @@ struct buffer
}
bool
- operator== (const buffer& y)
+ operator== (const buffer& y) const
{
return size_ == y.size_ && std::memcmp (data_, y.data_, size_) == 0;
}
@@ -292,7 +292,7 @@ struct object
string_ptr null_;
bool
- operator== (const object& y)
+ operator== (const object& y) const
{
return
id_ == y.id_ &&