From 9929649092a442104deedb7a430fbb9b23be9933 Mon Sep 17 00:00:00 2001 From: kartik arcot Date: Mon, 23 Jan 2023 10:36:16 -0800 Subject: [PATCH] execution trace use std aligned storage --- gtsam/nonlinear/internal/ExecutionTrace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtsam/nonlinear/internal/ExecutionTrace.h b/gtsam/nonlinear/internal/ExecutionTrace.h index 17557ba3a..7a6684a27 100644 --- a/gtsam/nonlinear/internal/ExecutionTrace.h +++ b/gtsam/nonlinear/internal/ExecutionTrace.h @@ -22,11 +22,11 @@ #include #include -#include - #include + #include #include +#include namespace gtsam { namespace internal { @@ -37,7 +37,7 @@ template struct CallRecord; /// It enforces the proper alignment in a portable way. /// Provide a traceSize() sized array of this type to traceExecution as traceStorage. static const unsigned TraceAlignment = 32; -typedef boost::aligned_storage<1, TraceAlignment>::type ExecutionTraceStorage; +typedef std::aligned_storage<1, TraceAlignment>::type ExecutionTraceStorage; template struct UseBlockIf {