From cba6293cf22e2c2ae17dd3954ad7d097f379c7ac Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 18 Mar 2011 23:02:54 +0000 Subject: Wow, a lot has changed. String is not a template class, and it can do it's own formatting ala QString. --- src/myriadstream.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/myriadstream.cpp') diff --git a/src/myriadstream.cpp b/src/myriadstream.cpp index a968a0c..e6e94bc 100644 --- a/src/myriadstream.cpp +++ b/src/myriadstream.cpp @@ -304,8 +304,6 @@ Bu::size Bu::MyriadStream::getBlockSize() const Bu::String Bu::MyriadStream::getLocation() const { - Bu::String s; - s.format("%d", pStream->iId ); - return s; + return Bu::String("%1").arg( pStream->iId ); } -- cgit v1.2.3