~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error.h

  • Committer: Henrik Ingo
  • Date: 2011-09-23 06:14:37 UTC
  • mfrom: (2425 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2439.
  • Revision ID: henrik.ingo@avoinelama.fi-20110923061437-ct1wedkb9s47uy2t
Merge newest trunk.

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