Ignore:
Timestamp:
Feb 26, 2013, 2:43:45 PM (7 years ago)
Author:
sam
Message:

base: start removing occurrences of NULL on our long journey to nullptr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/nacl/nacl-instance.cpp

    r1440 r2506  
    9292    /* Ensure only one NaClInstance does Init() at the same time. */
    9393    main_mutex.Lock();
    94     char *env[] = { NULL };
     94    char *env[] = { nullptr };
    9595    Args arglist(argc, const_cast<char **>(argv), const_cast<char **>(env));
    9696    main_queue.Push(&arglist);
    97     m_main_thread = new Thread(MainRun, NULL);
     97    m_main_thread = new Thread(MainRun, nullptr);
    9898    /* Push so that only MainSignal() can unblock us */
    99     main_queue.Push(NULL);
    100     main_queue.Push(NULL);
     99    main_queue.Push(nullptr);
     100    main_queue.Push(nullptr);
    101101    main_mutex.Unlock();
    102102
     
    121121    lol_nacl_main(arglist->m_argc, arglist->m_argv, arglist->m_env);
    122122
    123     return NULL;
     123    return nullptr;
    124124}
    125125
     
    146146    m_size = ivec2(position.size().width(), position.size().height());
    147147
    148     if (m_opengl_ctx == NULL)
     148    if (m_opengl_ctx == nullptr)
    149149        m_opengl_ctx.reset(new OpenGLContext(this));
    150150    m_opengl_ctx->InvalidateContext(this);
     
    178178void NaClInstance::DrawSelf()
    179179{
    180     if (m_opengl_ctx == NULL)
     180    if (m_opengl_ctx == nullptr)
    181181        return;
    182182
Note: See TracChangeset for help on using the changeset viewer.