diff options
author | nyamatongwe <devnull@localhost> | 2013-05-07 19:54:09 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-05-07 19:54:09 +1000 |
commit | 44445c23207f13b43a62dbb3de50c48d902ce8c4 (patch) | |
tree | b74c239d69ff18105bbb4335ad60a0e30e0d8fc4 /win32/PlatWin.cxx | |
parent | 448c4e47a81715652d3d3584b59bb9ca21c4ab9c (diff) | |
download | scintilla-mirror-44445c23207f13b43a62dbb3de50c48d902ce8c4.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.cxx | 2 |
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]; } }; |