~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-14 17:04:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2407.
  • Revision ID: olafvdspek@gmail.com-20110814170401-mk7dg2patdedfr7k
Remove unnecessary constructors and destructors

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
/*
42
42
 * Provides a mapping from the error enum values to std::strings.
43
43
 */
44
 
class ErrorMap
 
44
class ErrorMap : boost::noncopyable
45
45
{
46
46
public:
47
47
  typedef std::pair<std::string, std::string> value_type;
57
57
 
58
58
  static const ErrorMessageMap& get_error_message_map();
59
59
private:
60
 
  // Disable copy and assignment.
61
 
  ErrorMap(const ErrorMap &e);
62
 
  ErrorMap& operator=(const ErrorMap &e);
63
 
 
64
60
  ErrorMessageMap mapping_;
65
61
};
66
62