Commit f3985859 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0aed1c6b
......@@ -104,7 +104,7 @@ pair<Conn, error> WCFS::connect(zodb::Tid at) {
// close releases resources associated with wconn.
//
// opened fileh and mappings become invalid to use.
// opened fileh and mappings becomes invalid to use.
// XXX what happens to file mmappings?
error _Conn::close() {
_Conn& wconn = *this;
......
......@@ -233,8 +233,8 @@ Contextf::Contextf(const char *format, ...) {
va_end(argp);
}
error Contextf::operator() (error err) {
Contextf& c = *this;
error Contextf::operator() (error err) const {
const Contextf& c = *this;
if (err == nil)
return nil;
......
......@@ -169,7 +169,7 @@ class Contextf {
public:
Contextf(const char *format, ...);
error operator() (error);
error operator() (error) const;
};
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment