]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/getopt.h
Make sure all classes have sensible copy semantics
[libs/core.git] / source / core / getopt.h
index 407d3459984fce67c42ffd92f1c9ffe7faae4b23..8d78a728169a74e2b5715fce27ee63bccd100cc0 100644 (file)
@@ -6,6 +6,7 @@
 #include <string>
 #include <vector>
 #include <msp/strings/lexicalcast.h>
 #include <string>
 #include <vector>
 #include <msp/strings/lexicalcast.h>
+#include "noncopyable.h"
 
 namespace Msp {
 
 
 namespace Msp {
 
@@ -58,7 +59,7 @@ A built-in --help option is provided and will output a list of options,
 arguments and their associated help texts.  An application may override this by
 providing its own option with the same name.
 */
 arguments and their associated help texts.  An application may override this by
 providing its own option with the same name.
 */
-class GetOpt
+class GetOpt: private NonCopyable
 {
 public:
        enum ArgType
 {
 public:
        enum ArgType