sources/coloredline.h

changeset 69
eb4c25284a19
parent 60
268721e6be20
child 73
07dda51a7a8e
--- a/sources/coloredline.h	Tue Dec 16 23:50:56 2014 +0200
+++ b/sources/coloredline.h	Mon May 04 15:51:03 2015 +0300
@@ -62,14 +62,14 @@
 public:
 	ColoredLine() {}
 
-	METHOD data() const -> const Vector<int>& { return m_data; }
-	METHOD length() const -> int { return m_length; }
-	METHOD add_char (char ch) -> void;
-	METHOD finalize() -> void;
-	METHOD rows (int cols) const -> int;
+	const Vector<int>& data() const { return m_data; }
+	int length() const { return m_length; }
+	void add_char (char ch);
+	void finalize();
+	int rows (int cols) const;
 
 private:
-	METHOD set_color (Color a, bool on) -> void;
+	void set_color (Color a, bool on);
 
 	Vector<int> m_data;
 	int m_length = 0;

mercurial