From 1bc84ded58379ee24315db8784d9fb710a02e24e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 16 Oct 2013 15:18:16 +0300 Subject: [PATCH] Minor style fixes --- source/layout.h | 2 +- source/listdata.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/layout.h b/source/layout.h index 38d45ba..c9263d3 100644 --- a/source/layout.h +++ b/source/layout.h @@ -188,7 +188,7 @@ public: void set_container(Container &); void set_margin(const Sides &); - /** Sets the default spacing between widgets in bothg directions. */ + /** Sets the default spacing between widgets in both directions. */ void set_spacing(unsigned); /** Sets the default vertical spacing between widgets. Affects the ABOVE diff --git a/source/listdata.h b/source/listdata.h index 4c02f44..9d1a457 100644 --- a/source/listdata.h +++ b/source/listdata.h @@ -44,7 +44,7 @@ protected: public: void append(const T &v) { insert(items.size(), v); } - void insert(unsigned i, const T & v) + void insert(unsigned i, const T &v) { if(i>items.size()) throw std::out_of_range("ListDataStore::insert"); -- 2.43.0