Index: ossp-pkg/uuid/uuid++.cc RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid++.cc,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid++.cc,v' 2>/dev/null --- uuid++.cc 2005/08/31 20:08:15 1.3 +++ uuid++.cc 2005/09/25 10:41:18 1.4 @@ -50,6 +50,7 @@ uuid_rc_t rc; if ((rc = uuid_clone(obj.ctx, &ctx)) != UUID_RC_OK) throw uuid_error_t(rc); + return; } /* extra constructor via C API object */ @@ -60,6 +61,7 @@ throw uuid_error_t(UUID_RC_ARG); if ((rc = uuid_clone(obj, &ctx)) != UUID_RC_OK) throw uuid_error_t(rc); + return; } /* extra constructor via binary representation */ @@ -71,6 +73,7 @@ if ((rc = uuid_create(&ctx)) != UUID_RC_OK) throw uuid_error_t(rc); import(bin); + return; } /* extra constructor via string representation */ @@ -82,12 +85,14 @@ if ((rc = uuid_create(&ctx)) != UUID_RC_OK) throw uuid_error_t(rc); import(str); + return; } /* standard destructor */ uuid::~uuid() { uuid_destroy(ctx); + return; } /* assignment operator: import of other C++ API object */ @@ -235,6 +240,7 @@ uuid_rc_t rc; if ((rc = uuid_import(ctx, UUID_FMT_BIN, bin, UUID_LEN_BIN)) != UUID_RC_OK) throw uuid_error_t(rc); + return; } /* method: import string representation */ @@ -243,6 +249,7 @@ uuid_rc_t rc; if ((rc = uuid_import(ctx, UUID_FMT_STR, str, UUID_LEN_STR)) != UUID_RC_OK) throw uuid_error_t(rc); + return; } /* method: export binary representation */