mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update inheritance.rst
Fixed typo 'owned' → 'Owned'.
This commit is contained in:
parent
d9c6ceca09
commit
9867fbcfb0
@ -76,9 +76,9 @@ Details are given in the following example.
|
||||
}
|
||||
|
||||
|
||||
// Multiple inheritance is possible. Note that `owned` is
|
||||
// Multiple inheritance is possible. Note that `Owned` is
|
||||
// also a base class of `Destructible`, yet there is only a single
|
||||
// instance of `owned` (as for virtual inheritance in C++).
|
||||
// instance of `Owned` (as for virtual inheritance in C++).
|
||||
contract Named is Owned, Destructible {
|
||||
constructor(bytes32 name) {
|
||||
Config config = Config(0xD5f9D8D94886E70b06E474c3fB14Fd43E2f23970);
|
||||
|
Loading…
Reference in New Issue
Block a user