Skip to content

Commit b5e0290

Browse files
committed
Removed CLion warnings
1 parent ee188c5 commit b5e0290

File tree

8 files changed

+1549
-1520
lines changed

8 files changed

+1549
-1520
lines changed

CMakeLists.txt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
cmake_minimum_required(VERSION 2.8.4)
1+
cmake_minimum_required(VERSION 3.2)
22
project(mapcode_cpp)
33

4-
set(CMAKE_CXX_FLAGS
5-
"${CMAKE_CXX_FLAGS} -std=c++11")
4+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
65

76
set(SOURCE_FILES
8-
example/mapcode.cpp)
7+
mapcodelib/basics.h
8+
mapcodelib/dividemaps.h
9+
mapcodelib/mapcode_countrynames.h
10+
mapcodelib/mapcode_countrynames_short.h
11+
mapcodelib/mapcoder.c
12+
mapcodelib/mapcoder.h
13+
utility/mapcode.cpp)
914

10-
add_executable(mapcode ${SOURCE_FILES})
15+
add_executable(mapcode_cpp ${SOURCE_FILES})

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ decode Mapcodes.
5454

5555
Speed-up of encoding (4 times faster than 2.0.1).
5656

57-
Added optional mapcode_countrynames.h, with the English short names, formal names,
57+
Added optional `mapcode_countrynames.h`, with the English short names, formal names,
5858
and name variants of all territories.
5959

60-
Added optional mapcode_countrynames_short.h with only the short English names and
60+
Added optional `mapcode_countrynames_short.h` with only the short English names and
6161
name variants.
6262

6363
Stricter processing of high-precision letters (now fails on illegal high-precision
@@ -66,7 +66,7 @@ decode Mapcodes.
6666
Fix to allow illegal letters "i" and "o" in Hindi, Bengali, Tibetan and Gurmukhi
6767
(so they can later be interpreted as digits 1 and 0).
6868

69-
Fix for some unrecognized aliases in convertTerritoryIsoNameToCode().
69+
Fix for some unrecognized aliases in `convertTerritoryIsoNameToCode()`.
7070

7171
* 2.0.1
7272

0 commit comments

Comments
 (0)