From 049cb20c7c9e04129b15227a9aa62eb9edfb675d Mon Sep 17 00:00:00 2001 From: josh Date: Mon, 14 Sep 2009 00:26:48 +0000 Subject: [PATCH] fixed warning about const qualifier git-svn-id: svn://anubis/misc/wfobj@132 bd8a9e45-a331-0410-811e-c64571078777 --- WFObj.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WFObj.hh b/WFObj.hh index 65c5f58..3311142 100644 --- a/WFObj.hh +++ b/WFObj.hh @@ -22,7 +22,7 @@ protected: { public: float operator[](int idx) const { return data[idx]; } - const float & operator[](int idx) { return data[idx]; } + float & operator[](int idx) { return data[idx]; } float * getData() { return data; } private: float data[4];