From 46ed8c31080e506c14899cad965da57d8f651431 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Wed, 8 Feb 2017 08:42:02 +0000 Subject: [PATCH] fixed: in Object::GetValueAndParam() there was value.empty() used instead of value.clear() git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@1046 e52654a7-88a9-db11-a3e9-0013d4bc506e --- ttmath/ttmathobjects.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ttmath/ttmathobjects.h b/ttmath/ttmathobjects.h index c35026b..c988570 100644 --- a/ttmath/ttmathobjects.h +++ b/ttmath/ttmathobjects.h @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2006-2010, Tomasz Sowa + * Copyright (c) 2006-2017, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -484,7 +484,7 @@ public: if( i == table.end() ) { - value.empty(); + value.clear(); *param = 0; return err_unknown_object; }