diff --git a/include/core/state_block/has_state_blocks.h b/include/core/state_block/has_state_blocks.h
index 6930a35241f5092e5df4f19e7ded101660d6c620..5594d05d0e1411fe532b64013b12c8b4cbfbb8b1 100644
--- a/include/core/state_block/has_state_blocks.h
+++ b/include/core/state_block/has_state_blocks.h
@@ -27,15 +27,7 @@ class HasStateBlocks
         void appendToStructure(const std::string& _frame_type){structure_ += _frame_type;}
         const std::map<std::string, StateBlockPtr>& getStateBlockMap() const;
         std::map<std::string, StateBlockPtr>& getStateBlockMap();
-        std::vector<StateBlockPtr> getStateBlockVec() const
-        {
-            std::vector<StateBlockPtr> sbv;
-            for (auto& key : structure_)
-            {
-                sbv.push_back(getStateBlock(key));
-            }
-            return sbv;
-        }
+        std::vector<StateBlockPtr> getStateBlockVec() const;
 
     public:
         // Some typical shortcuts -- not all should be coded here, see notes below.
@@ -114,6 +106,17 @@ inline std::map<std::string, StateBlockPtr>& HasStateBlocks::getStateBlockMap()
     return state_block_map_;
 }
 
+inline std::vector<StateBlockPtr> HasStateBlocks::getStateBlockVec() const
+{
+    std::vector<StateBlockPtr> sbv;
+    for (auto& key : structure_)
+    {
+        sbv.push_back(getStateBlock(key));
+    }
+    return sbv;
+}
+
+
 inline const std::map<std::string, StateBlockPtr>& HasStateBlocks::getStateBlockMap() const
 {
     return state_block_map_;