From f3be07c6613c8463a2faea12806dcd1bd788caf9 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sun, 4 Sep 2016 23:03:48 +0900 Subject: [PATCH] minor code style fixes --- include/pybind11/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pybind11/common.h b/include/pybind11/common.h index b644a11da..6e079e465 100644 --- a/include/pybind11/common.h +++ b/include/pybind11/common.h @@ -211,7 +211,7 @@ struct buffer_info { std::vector shape; // Shape of the tensor (1 entry per dimension) std::vector strides; // Number of entries between adjacent entries (for each per dimension) - buffer_info(){} + buffer_info() { } buffer_info(void *ptr, size_t itemsize, const std::string &format, size_t ndim, const std::vector &shape, const std::vector &strides) @@ -238,7 +238,7 @@ struct buffer_info { buffer_info(const buffer_info &) = delete; buffer_info& operator=(const buffer_info &) = delete; - buffer_info(buffer_info &&other){ + buffer_info(buffer_info &&other) { (*this) = std::move(other); }