Commit f3985859 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0aed1c6b
...@@ -104,7 +104,7 @@ pair<Conn, error> WCFS::connect(zodb::Tid at) { ...@@ -104,7 +104,7 @@ pair<Conn, error> WCFS::connect(zodb::Tid at) {
// close releases resources associated with wconn. // 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? // XXX what happens to file mmappings?
error _Conn::close() { error _Conn::close() {
_Conn& wconn = *this; _Conn& wconn = *this;
......
...@@ -233,8 +233,8 @@ Contextf::Contextf(const char *format, ...) { ...@@ -233,8 +233,8 @@ Contextf::Contextf(const char *format, ...) {
va_end(argp); va_end(argp);
} }
error Contextf::operator() (error err) { error Contextf::operator() (error err) const {
Contextf& c = *this; const Contextf& c = *this;
if (err == nil) if (err == nil)
return nil; return nil;
......
...@@ -169,7 +169,7 @@ class Contextf { ...@@ -169,7 +169,7 @@ class Contextf {
public: public:
Contextf(const char *format, ...); 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