commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 17/23: replaced dynamic_ by static_cast; ty


From: git
Subject: [Commit-gnuradio] [gnuradio] 17/23: replaced dynamic_ by static_cast; typechecking done before
Date: Thu, 26 Jun 2014 19:54:45 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 2b300b2ec3a588506dd7458f3e770a319ddf26fd
Author: Marcus Müller <address@hidden>
Date:   Mon Jun 16 20:03:37 2014 +0200

    replaced dynamic_ by static_cast;typechecking done before
---
 gnuradio-runtime/lib/pmt/pmt_io.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnuradio-runtime/lib/pmt/pmt_io.cc 
b/gnuradio-runtime/lib/pmt/pmt_io.cc
index acad8fc..e63bae4 100644
--- a/gnuradio-runtime/lib/pmt/pmt_io.cc
+++ b/gnuradio-runtime/lib/pmt/pmt_io.cc
@@ -114,7 +114,7 @@ write(pmt_t obj, std::ostream &port)
     size_t len = length(obj);
     if (len)
     {
-      pmt_uniform_vector *uv = dynamic_cast<pmt_uniform_vector*>(obj.get());
+      pmt_uniform_vector *uv = static_cast<pmt_uniform_vector*>(obj.get());
       port << uv->string_ref(0);
       for (size_t i = 1; i < len; i++)
        port << " " << uv->string_ref(i);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]