aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-05-07 19:54:09 +1000
committernyamatongwe <unknown>2013-05-07 19:54:09 +1000
commit15af12d8b2a31b4f20afd18356672543ad528cf5 (patch)
tree9c3abfd20daeff37327abe52cbd13877250256e9 /win32/PlatWin.cxx
parent4eaffb9f1c2212023e8ccf7cc3e1499aa6b5edb0 (diff)
downloadscintilla-mirror-15af12d8b2a31b4f20afd18356672543ad528cf5.tar.gz
Replace X.data() with &X[0] to allow building with old releases of Visual C++.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
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<char>(s, s+strlen(s)+1);
- return words.data();
+ return &words[0];
}
};