diff --git a/include/capsule/heap/STLVector.h b/include/capsule/heap/STLVector.h
index bd8104e8b3b0a63e3510d353f62d7dacf7efe103..b548a64d640a3072d55b9d923174df62fc845eb7 100644
--- a/include/capsule/heap/STLVector.h
+++ b/include/capsule/heap/STLVector.h
@@ -40,10 +40,9 @@ public:
    * @param rankMPI MPI rank
    * @param debugMode true: extra checks, slower
    */
-  STLVector(const std::string accessMode, const int rankMPI,
-            const bool debugMode = false);
+  STLVector(std::string accessMode, int rankMPI, bool debugMode = false);
 
-  ~STLVector();
+  ~STLVector() = default;
 
   char *GetData();
   char *GetMetadata();
diff --git a/source/capsule/heap/STLVector.cpp b/source/capsule/heap/STLVector.cpp
index b6f12dbdc82983dc231b303322cd5d0092947c24..03564095e71fbbcbe560ef293d89d8038c86e699 100644
--- a/source/capsule/heap/STLVector.cpp
+++ b/source/capsule/heap/STLVector.cpp
@@ -20,15 +20,12 @@ namespace adios
 namespace capsule
 {
 
-STLVector::STLVector(const std::string accessMode, const int rankMPI,
-                     const bool debugMode)
-    : Capsule("Heap", accessMode, rankMPI, debugMode)
+STLVector::STLVector(std::string accessMode, int rankMPI, bool debugMode)
+: Capsule{"Heap", std::move(accessMode), rankMPI, debugMode}
 {
   m_Data.reserve(16777216);
 }
 
-STLVector::~STLVector() {}
-
 char *STLVector::GetData() { return m_Data.data(); }
 
 char *STLVector::GetMetadata() { return m_Metadata.data(); }
@@ -79,5 +76,5 @@ void STLVector::ResizeMetadata(const std::size_t size)
   }
 }
 
-} // end namespace heap
-} // end namespace
+} // end namespace capsule
+} // end namespace adios