Thread: error: passing ‘const dmatrix’ as ‘this’ argument of ‘int dmatrix::start()’ discards

  1. #1
    Registered User
    Join Date
    Nov 2012
    Posts
    1

    error: passing ‘const dmatrix’ as ‘this’ argument of ‘int dmatrix::start()’ discards

    Issue resolved, I am not sure how to delete threads.
    Last edited by woodclash; 11-04-2012 at 03:26 PM.

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Why not leave the code up, and post how you resolved the issue instead? That way some other person may benefit in the future.

    On a completely unrelated note (I was about to check my theory of solution) you should really separate your class declaration and definition, the declaration should go in a .h file and the definition should go in a cpp file.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 04-04-2010, 11:48 AM
  2. dmatrix() function from NR
    By swapnilp in forum C Programming
    Replies: 0
    Last Post: 12-24-2009, 06:11 AM
  3. error: passing const std::string as this argument
    By noobcpp in forum C++ Programming
    Replies: 2
    Last Post: 07-23-2008, 01:11 PM
  4. Replies: 8
    Last Post: 05-29-2008, 12:47 PM
  5. Replies: 1
    Last Post: 03-31-2008, 05:53 PM