Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Linux programozás nagyházi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eckl, Máté
Linux programozás nagyházi
Commits
03d05c0d
Commit
03d05c0d
authored
8 years ago
by
dnsadmin
Browse files
Options
Downloads
Patches
Plain Diff
Ajánlott override-ok hozzáadása
parent
9007d99c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/exceptions/db_exception.h
+1
-1
1 addition, 1 deletion
include/exceptions/db_exception.h
include/exceptions/dns_exception.h
+1
-1
1 addition, 1 deletion
include/exceptions/dns_exception.h
with
2 additions
and
2 deletions
include/exceptions/db_exception.h
+
1
−
1
View file @
03d05c0d
...
...
@@ -16,7 +16,7 @@ class db_exception: public std::exception
std
::
string
msg
;
public:
explicit
db_exception
(
const
std
::
string
&
msg
)
:
msg
(
msg
)
{}
virtual
const
char
*
what
()
const
_GLIBCXX_TXN_SAFE_DYN
_GLIBCXX_USE_NOEXCEPT
{
return
msg
.
c_str
();
}
virtual
const
char
*
what
()
const
_GLIBCXX_TXN_SAFE_DYN
_GLIBCXX_USE_NOEXCEPT
override
{
return
msg
.
c_str
();
}
};
#endif
/* DB_EXCEPTION_H */
This diff is collapsed.
Click to expand it.
include/exceptions/dns_exception.h
+
1
−
1
View file @
03d05c0d
...
...
@@ -16,7 +16,7 @@ class dns_exception: public std::exception
std
::
string
msg
;
public:
explicit
dns_exception
(
const
std
::
string
&
msg
)
:
msg
(
msg
)
{}
virtual
const
char
*
what
()
const
_GLIBCXX_TXN_SAFE_DYN
_GLIBCXX_USE_NOEXCEPT
{
return
msg
.
c_str
();
}
virtual
const
char
*
what
()
const
_GLIBCXX_TXN_SAFE_DYN
_GLIBCXX_USE_NOEXCEPT
override
{
return
msg
.
c_str
();
}
};
#endif
/* DNS_EXCEPTION_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment