summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-13 21:04:16 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-14 20:23:08 (GMT)
commiteb79fa726090410dbfceb64e29604320cc65d92f (patch)
treef0a219ba65457d8e5695b4c12dfb0f3d94e49603 /Source/CPack
parent33f74dc5247328cc5b3d6239c65e869bcc35cd80 (diff)
downloadCMake-eb79fa726090410dbfceb64e29604320cc65d92f.zip
CMake-eb79fa726090410dbfceb64e29604320cc65d92f.tar.gz
CMake-eb79fa726090410dbfceb64e29604320cc65d92f.tar.bz2
Access std::ios_base with std::ios
Just because it is shorter.
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackDragNDropGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.cxx b/Source/CPack/cmCPackDragNDropGenerator.cxx
index f4379c1..640e437 100644
--- a/Source/CPack/cmCPackDragNDropGenerator.cxx
+++ b/Source/CPack/cmCPackDragNDropGenerator.cxx
@@ -235,7 +235,7 @@ bool cmCPackDragNDropGenerator::CreateEmptyFile(std::ostringstream& target,
return false;
} else {
// Seek to desired size - 1 byte
- fout.seekp(size - 1, std::ios_base::beg);
+ fout.seekp(size - 1, std::ios::beg);
char byte = 0;
// Write one byte to ensure file grows
fout.write(&byte, 1);