mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@139 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
a366578b9e
commit
f6f80d4192
2 changed files with 20 additions and 7 deletions
|
|
@ -18,13 +18,6 @@ namespace mock
|
|||
template< typename Result >
|
||||
struct silent_error
|
||||
{
|
||||
static std::string to_string( int i )
|
||||
{
|
||||
std::stringstream s;
|
||||
s << i;
|
||||
return s.str();
|
||||
}
|
||||
|
||||
static Result abort()
|
||||
{
|
||||
throw std::runtime_error( "abort" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue