aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage.H')
-rw-r--r--src/include/storage.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage.H b/src/include/storage.H
index 6800dc16..afd5f51f 100644
--- a/src/include/storage.H
+++ b/src/include/storage.H
@@ -266,13 +266,13 @@ namespace OpenAxiom {
// Allocate storage and value-construct an object of type `T'.
T* make() {
- return new(this->allocate(1)) T();
+ return new(this->allocate(1)) T{ };
}
// Allocate storage and construct an object of type `T'.
template<typename... Args>
T* make(const Args&... args) {
- return new(this->allocate(1)) T(args...);
+ return new(this->allocate(1)) T{args...};
}
private: