summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/entry.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-05 22:26:04 +0000
committerKarl Berry <karl@freefriends.org>2010-07-05 22:26:04 +0000
commit648027bec248a7b000741a507b507f6d89941ce5 (patch)
treece3b82b43a8b17403eda43db782bbf2e5bf0e161 /Build/source/utils/asymptote/entry.h
parent5ff8f96c8ab3bd3aeb8fed8d512c57134fb2a6cc (diff)
asy 2.00
git-svn-id: svn://tug.org/texlive/trunk@19250 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/entry.h')
-rw-r--r--Build/source/utils/asymptote/entry.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/Build/source/utils/asymptote/entry.h b/Build/source/utils/asymptote/entry.h
index bffec3aa6aa..c9eeb2e54ff 100644
--- a/Build/source/utils/asymptote/entry.h
+++ b/Build/source/utils/asymptote/entry.h
@@ -358,18 +358,13 @@ class venv {
// The number of scopes begun (but not yet ended) when the venv was empty.
size_t empty_scopes;
public:
- venv() : empty_scopes(0) {
- beginScope();
- }
+ venv() : empty_scopes(0) {}
// Most file level modules automatically import plain, so allocate hashtables
// big enough to hold it in advance.
struct file_env_tag {};
venv(file_env_tag)
- : all(fileAllSize), names(namesAllSize), empty_scopes(0)
- {
- beginScope();
- }
+ : all(fileAllSize), names(namesAllSize), empty_scopes(0) {}
void enter(symbol name, varEntry *v);