diff options
author | chriseth <chris@ethereum.org> | 2017-07-14 03:06:04 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-08-23 23:37:35 +0800 |
commit | 9ac2ac14c1819be2341c6947245bf63b02795528 (patch) | |
tree | 0f935509daf2d166a6095924530263059894a764 /libsolidity/interface/ReadFile.h | |
parent | ab5e3a8f6d9b92cef521b6855bf7ab649ebf751f (diff) | |
download | dexon-solidity-9ac2ac14c1819be2341c6947245bf63b02795528.tar dexon-solidity-9ac2ac14c1819be2341c6947245bf63b02795528.tar.gz dexon-solidity-9ac2ac14c1819be2341c6947245bf63b02795528.tar.bz2 dexon-solidity-9ac2ac14c1819be2341c6947245bf63b02795528.tar.lz dexon-solidity-9ac2ac14c1819be2341c6947245bf63b02795528.tar.xz dexon-solidity-9ac2ac14c1819be2341c6947245bf63b02795528.tar.zst dexon-solidity-9ac2ac14c1819be2341c6947245bf63b02795528.zip |
Rename read file callback.
Diffstat (limited to 'libsolidity/interface/ReadFile.h')
-rw-r--r-- | libsolidity/interface/ReadFile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libsolidity/interface/ReadFile.h b/libsolidity/interface/ReadFile.h index 2e8a6bd8..7068629d 100644 --- a/libsolidity/interface/ReadFile.h +++ b/libsolidity/interface/ReadFile.h @@ -27,17 +27,17 @@ namespace dev namespace solidity { -class ReadFile: boost::noncopyable +class ReadCallback: boost::noncopyable { public: - /// File reading result. + /// File reading or generic query result. struct Result { bool success; - std::string contentsOrErrorMessage; + std::string responseOrErrorMessage; }; - /// File reading callback. + /// File reading or generic query callback. using Callback = std::function<Result(std::string const&)>; }; |