mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 17:12:22 +00:00
Fix bug in example
[SVN r8084]
This commit is contained in:
@@ -25,7 +25,7 @@ namespace hello {
|
||||
const char* get() const { return "hi, world"; }
|
||||
...
|
||||
};
|
||||
void length(const world& x) { return std::strlen(x.get()); }
|
||||
std::size_t length(const world& x) { return std::strlen(x.get()); }
|
||||
}
|
||||
|
||||
</pre>
|
||||
@@ -122,6 +122,6 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE, DWORD, LPVOID)
|
||||
express or implied warranty, and with no claim as to its suitability
|
||||
for any purpose.
|
||||
<p>
|
||||
Updated: Oct 15, 2000
|
||||
Updated: Oct 30, 2000
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user