diff options
author | Eugene Kosov <claprix@yandex.ru> | 2020-03-11 16:27:37 +0300 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2020-03-11 16:27:37 +0300 |
commit | df88e7cefaa7dcffdc52359b73a1087e8569e000 (patch) | |
tree | f9cd6de83dd4fbfed03687157c8410e5830af681 /storage/xtradb | |
parent | b30446c85dbf0fd402a7833e1042bc13be7fece2 (diff) | |
download | mariadb-git-df88e7cefaa7dcffdc52359b73a1087e8569e000.tar.gz |
fix typedef-related warning and cleanup using namespace std
Diffstat (limited to 'storage/xtradb')
-rw-r--r-- | storage/xtradb/include/buf0buf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/xtradb/include/buf0buf.h b/storage/xtradb/include/buf0buf.h index e8a82f2e3e4..39fceeef384 100644 --- a/storage/xtradb/include/buf0buf.h +++ b/storage/xtradb/include/buf0buf.h @@ -1528,7 +1528,7 @@ buf_page_encrypt_before_write( NOTE! The definition appears here only for other modules of this directory (buf) to see it. Do not use from outside! */ -typedef struct { +struct buf_tmp_buffer_t { private: int32 reserved; /*!< true if this slot is reserved */ @@ -1558,7 +1558,7 @@ public: return !my_atomic_fas32_explicit(&reserved, true, MY_MEMORY_ORDER_RELAXED); } -} buf_tmp_buffer_t; +}; /** The common buffer control block structure for compressed and uncompressed frames */ |