From 3cee63bcfbbb1d3a1495cd2efd002154ee3a3a3e Mon Sep 17 00:00:00 2001
From: Adam Wardynski <award@.(win7-laptop)>
Date: Tue, 10 Jan 2012 14:18:37 +0100
Subject: [PATCH] Fix getting section names so there's no empty string padding.

---
 libwccl/wcclfileopsections.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libwccl/wcclfileopsections.h b/libwccl/wcclfileopsections.h
index bfc90b3..9c848d2 100644
--- a/libwccl/wcclfileopsections.h
+++ b/libwccl/wcclfileopsections.h
@@ -116,7 +116,7 @@ size_t WcclFileOpSections<T>::size() const
 template<class T> inline
 std::vector<std::string> WcclFileOpSections<T>::section_names() const
 {
-	std::vector<std::string> v(size());
+	std::vector<std::string> v;
 	foreach(const ptr_t& section, sections_) {
 		v.push_back(section->name());
 	}
-- 
GitLab