~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to system/lib/libcxx/iostream.cpp

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-09-20 22:44:35 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130920224435-apuwj4fsl3fqv1a6
Tags: 1.5.6~20130920~6010666-1
* New snapshot release
* Update the list of supported architectures to the same as libv8
  (Closes: #723129)
* emlibtool has been removed from upstream.
* Fix warning syntax-error-in-dep5-copyright
* Refresh of the patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
ios_base::Init::~Init()
56
56
{
57
 
    ostream* cout_ptr = (ostream*)cout;
58
 
    ostream* clog_ptr = (ostream*)clog;
 
57
    ostream* cout_ptr = reinterpret_cast<ostream*>(cout);
 
58
    ostream* clog_ptr = reinterpret_cast<ostream*>(clog);
59
59
    cout_ptr->flush();
60
60
    clog_ptr->flush();
61
61
 
62
 
    wostream* wcout_ptr = (wostream*)wcout;
63
 
    wostream* wclog_ptr = (wostream*)wclog;
 
62
    wostream* wcout_ptr = reinterpret_cast<wostream*>(wcout);
 
63
    wostream* wclog_ptr = reinterpret_cast<wostream*>(wclog);
64
64
    wcout_ptr->flush();
65
65
    wclog_ptr->flush();
66
66
}