Skip to content

Commit 13f6fbd

Browse files
committed
Use gcc7 for better lcov
1 parent 78495ff commit 13f6fbd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- checkout
1111
- run:
1212
name: Installing GCC and CMake
13-
command: 'apt-get update && apt-get install -y gcc g++ cmake lcov curl'
13+
command: 'apt-get update && apt-get install -y gcc-7 cmake lcov curl'
1414
- run:
1515
name: Build
1616
command: cmake -DCOMPILE_TESTS=ON -DCOMPILE_EXAMPLES=ON -DCODE_COVERAGE=ON . && cmake --build .

include/jsonrpccxx/typemapper.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@ namespace jsonrpccxx {
5252
return "array";
5353
case json::value_t::string:
5454
return "string";
55-
case json::value_t::null:
56-
return "null";
5755
default:
58-
return "unknown type";
56+
return "null";
5957
}
6058
}
6159

0 commit comments

Comments
 (0)