Functionality for generating website completed
[biaweb2.git] / biawebsidebar.hpp
index a5ccef6..4aef44f 100644 (file)
@@ -88,7 +88,7 @@ namespace biaweb {
         }
 
         void add_sidebar_item (SideBarItem item) {
-            items.insert (items.cend(), item);
+            this->items.insert (this->items.cend(), item);
         }
 
         // render the sidebar using the template directory specified
@@ -103,7 +103,7 @@ namespace biaweb {
         sidetpl.close ();
         std::string listitem;
         // first get the sidebar items and render them to HTML
-        for (SideBarItem item : items) {
+        for (SideBarItem item : this->items) {
             listitem += item.to_html (templatedir);
         }