Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
36394cc2
Unverified
Commit
36394cc2
authored
3 years ago
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try minimal example
parent
83c005f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
test/src/unit-disabled_exceptions.cpp
test/src/unit-disabled_exceptions.cpp
+2
-3
No files found.
test/src/unit-disabled_exceptions.cpp
View file @
36394cc2
...
@@ -77,7 +77,6 @@ struct position_t
...
@@ -77,7 +77,6 @@ struct position_t
}
}
};
};
class
exception
:
public
std
::
exception
class
exception
:
public
std
::
exception
{
{
public:
public:
...
@@ -86,7 +85,7 @@ class exception : public std::exception
...
@@ -86,7 +85,7 @@ class exception : public std::exception
return
m
.
what
();
return
m
.
what
();
}
}
const
int
id
;
const
int
id
;
// NOLINT(cppcoreguidelines-non-private-member-variables-in-classes)
protected:
protected:
exception
(
int
id_
,
const
char
*
what_arg
)
:
id
(
id_
),
m
(
what_arg
)
{}
exception
(
int
id_
,
const
char
*
what_arg
)
:
id
(
id_
),
m
(
what_arg
)
{}
...
@@ -123,7 +122,7 @@ class parse_error : public exception
...
@@ -123,7 +122,7 @@ class parse_error : public exception
}
}
};
};
}
// namespace detail
}
// namespace detail
2
}
// namespace nlohmann
}
// namespace nlohmann
//
//
...
...
This diff is collapsed.
Click to expand it.
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