Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
c281088c
Commit
c281088c
authored
Sep 06, 2018
by
Harris Hancock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gcc 5.0 for better C++14 compliance
parent
3c7748b7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
20 deletions
+3
-20
.travis.yml
.travis.yml
+3
-3
url.h
c++/src/kj/compat/url.h
+0
-17
No files found.
.travis.yml
View file @
c281088c
...
@@ -24,10 +24,10 @@ matrix:
...
@@ -24,10 +24,10 @@ matrix:
sources
:
sources
:
-
ubuntu-toolchain-r-test
-
ubuntu-toolchain-r-test
packages
:
packages
:
-
g++-
4.9
-
g++-
5
env
:
env
:
-
MATRIX_CC=gcc-
4.9
-
MATRIX_CC=gcc-
5
-
MATRIX_CXX=g++-
4.9
-
MATRIX_CXX=g++-
5
# New GCC
# New GCC
-
os
:
linux
-
os
:
linux
...
...
c++/src/kj/compat/url.h
View file @
c281088c
...
@@ -37,12 +37,6 @@ struct UrlOptions {
...
@@ -37,12 +37,6 @@ struct UrlOptions {
bool
percentDecode
=
true
;
bool
percentDecode
=
true
;
// True if URL components should be automatically percent-decoded during parsing, and
// True if URL components should be automatically percent-decoded during parsing, and
// percent-encoded during serialization.
// percent-encoded during serialization.
#if __cplusplus < 201402L
inline
constexpr
UrlOptions
(
bool
percentDecode
=
true
)
:
percentDecode
(
percentDecode
)
{}
// TODO(cleanup): This constructor is only here to support brace initialization in C++11. It
// should be removed once we upgrade to C++14.
#endif
};
};
struct
Url
{
struct
Url
{
...
@@ -103,17 +97,6 @@ struct Url {
...
@@ -103,17 +97,6 @@ struct Url {
~
Url
()
noexcept
(
false
);
~
Url
()
noexcept
(
false
);
Url
&
operator
=
(
Url
&&
)
=
default
;
Url
&
operator
=
(
Url
&&
)
=
default
;
#if __cplusplus < 201402L
inline
Url
(
String
&&
scheme
,
Maybe
<
UserInfo
>&&
userInfo
,
String
&&
host
,
Vector
<
String
>&&
path
,
bool
hasTrailingSlash
,
Vector
<
QueryParam
>&&
query
,
Maybe
<
String
>&&
fragment
,
UrlOptions
options
)
:
scheme
(
kj
::
mv
(
scheme
)),
userInfo
(
kj
::
mv
(
userInfo
)),
host
(
kj
::
mv
(
host
)),
path
(
kj
::
mv
(
path
)),
hasTrailingSlash
(
hasTrailingSlash
),
query
(
kj
::
mv
(
query
)),
fragment
(
kj
::
mv
(
fragment
)),
options
(
options
)
{}
// TODO(cleanup): This constructor is only here to support brace initialization in C++11. It
// should be removed once we upgrade to C++14.
#endif
Url
clone
()
const
;
Url
clone
()
const
;
enum
Context
{
enum
Context
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment