Konstantin Käfer
8bf66ef7a7
[core] remove some uses of <iostream> and <sstream>
2018-10-23 12:23:40 +02:00
Konstantin Käfer
e76de05402
[build] move logging to util
2016-11-22 20:58:51 +01:00
Konstantin Käfer
77e7846756
[core] code style cleanups
...
- puts function definitions in a namespace ... {} rather than using namespace ...;
- remove trailing whitespace
- add trailing newline
- protect SQL statements from being formatted by clang-format
2016-07-01 12:38:33 +02:00
Bruno de Oliveira Abinader
4161d197fd
[tidy] Check modernize-pass-by-value
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
2016-06-13 23:32:05 +03:00
Bruno de Oliveira Abinader
2f86467586
Cleanup std::chrono usage
...
Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible.
2016-01-25 15:11:18 +02:00
Konstantin Käfer
69564cc886
[core] fix logging so we don't use strings as a formatter
2015-11-06 10:16:52 +01:00
Bruno de Oliveira Abinader
58b93553c1
Replace size() with empty() whenever possible
...
Before C++11, std::list's implementation of size was O(n). It should be
all O(1) now, but it is probably still a good idea to use empty() to
emphasize the intend.
2015-07-29 11:03:47 +03:00
John Firebaugh
9331acf8e6
Add typedefs for std::chrono::steady_clock types
2015-04-02 12:28:12 +02:00
Leith Bade
89bbd29278
Use std::chrono
2015-02-04 09:39:25 +11:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00