From 44445c23207f13b43a62dbb3de50c48d902ce8c4 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 7 May 2013 19:54:09 +1000 Subject: Replace X.data() with &X[0] to allow building with old releases of Visual C++. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/PlatWin.cxx') diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index c746bfcb2..580ceb560 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -2095,7 +2095,7 @@ public: char *SetWords(const char *s) { words = std::vector(s, s+strlen(s)+1); - return words.data(); + return &words[0]; } }; -- cgit v1.2.3