Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2013-03-04 22:03:47 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:51:34 +0300
commit987f5932aeb79f2700789497e1fc34c62915828f (patch)
tree7943379f587e6d7812d991c8b646357ce9d3e46b /coding/constants.hpp
parent581c0df1b6ed881af26097043c3952a7dc61ad62 (diff)
- Factor out buffer size constant for files;
- Avoid copy paste; - Minor code style fixes;
Diffstat (limited to 'coding/constants.hpp')
-rw-r--r--coding/constants.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/coding/constants.hpp b/coding/constants.hpp
new file mode 100644
index 0000000000..3c60abd7b9
--- /dev/null
+++ b/coding/constants.hpp
@@ -0,0 +1,3 @@
+#pragma once
+
+static const size_t READ_FILE_BUFFER_SIZE = 512 * 1024;