summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-02-28 16:57:56 -0800
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:24:39 +0300
commit067dbfd94662027d220cd93085d67ca0bb3cf800 (patch)
tree7f327a52cf90265c4ad79bfb58de512a0128e14f
parent3adc0bd5ed011987ae2c396027e3dcc5ebdea92e (diff)
Mike Ey and I decided the smart pointer constructor form is different enough to deserve its own name.
-rwxr-xr-xsystem/include/emscripten/bind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h
index 15bbfc86..f6b640d1 100755
--- a/system/include/emscripten/bind.h
+++ b/system/include/emscripten/bind.h
@@ -637,7 +637,7 @@ namespace emscripten {
}
template<typename SmartPtr, typename... Args, typename... Policies>
- class_& constructor(SmartPtr (*factory)(Args...), Policies...) {
+ class_& smart_ptr_constructor(SmartPtr (*factory)(Args...), Policies...) {
using namespace internal;
// TODO: generate unique name