Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
1a8733ec
Commit
1a8733ec
authored
Jan 23, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f2aabf29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
wcfs/client/wcfs_misc.cpp
wcfs/client/wcfs_misc.cpp
+1
-1
wcfs/client/wcfs_misc.h
wcfs/client/wcfs_misc.h
+2
-2
No files found.
wcfs/client/wcfs_misc.cpp
View file @
1a8733ec
...
...
@@ -239,7 +239,7 @@ error Contextf::operator() (error err) const {
if
(
err
==
nil
)
return
nil
;
return
fmt
::
errorf
(
"%s: %
s"
,
v
(
c
.
errctx
),
v
(
err
)
);
return
fmt
::
errorf
(
"%s: %
w"
,
v
(
c
.
errctx
),
err
);
}
}
// xerr::
...
...
wcfs/client/wcfs_misc.h
View file @
1a8733ec
...
...
@@ -23,7 +23,7 @@
#define _NXD_WCFS_MISC_H_
// XXX hack: C++ does not have __builtin_types_compatible_p, but CCAN configure
// thinks it does because CCAN is config
i
red via C, not C++.
// thinks it does because CCAN is config
u
red via C, not C++.
#include <config.h>
#undef HAVE_BUILTIN_TYPES_COMPATIBLE_P
#define HAVE_BUILTIN_TYPES_COMPATIBLE_P 0
...
...
@@ -153,7 +153,7 @@ namespace xerr {
//
// Usage is a bit different(*) compared to Go:
//
// func do
s
Something(arg) {
// func doSomething(arg) {
// xerr.Contextf E("doing something %s", v(arg));
// ...
// return E(err);
...
...
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