~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_bitmap.cc

Removed global.h. Fixed all the headers.
Also fixed headers to allow for some out of tree builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include <mystrings/m_string.h>
19
19
#include <mysys/my_bit.h>
20
20
 
 
21
#include <memory>
 
22
 
21
23
using namespace std;
22
24
 
23
25
void MyBitmap::createLastWordMask()
69
71
  if (! buf)
70
72
  {
71
73
    uint32_t size_in_bytes= bitmap_buffer_size(num_bits);
72
 
    if (! (buf= new(std::nothrow) my_bitmap_map[size_in_bytes]()))
 
74
    if (! (buf= new(nothrow) my_bitmap_map[size_in_bytes]()))
73
75
    {
74
76
      return true;
75
77
    }