Skip to content
  • Daniel Elstner's avatar
    Make init_state_ a value member of the class instead creating it · 81753d24
    Daniel Elstner authored
    * src/main.cc (RegexxerOptions): Make init_state_ a value member
    of the class instead creating it dynamically.  This simplification
    is now possible since the RegexxerOptions object will be allocated
    dynamically anyway.
    (RegexxerOptions::init_state): Rename from take_init_state(), and
    make it return a const reference.
    (main): Use new init_state() method when initializing the window.
    
    * src/mainwindow.{cc,h} (MainWindow::initialize): Change init
    parameter type to a const reference.
    
    svn path=/trunk/; revision=627
    81753d24
To find the state of this project's repository at the time of any of these versions, check out the tags.