fix comment
authorTudor Bosman <tudorb@fb.com>
Fri, 15 Feb 2013 00:48:32 +0000 (16:48 -0800)
committerJordan DeLong <jdelong@fb.com>
Tue, 19 Mar 2013 00:07:31 +0000 (17:07 -0700)
Test Plan: No

Reviewed By: philipp@fb.com

FB internal diff: D709795

folly/StlAllocator.h

index 1dd59248703707da65e70ac7dcfa7451b97b82a5..4cbe8f8b31892ee7d8c754fd9e474690fec431b5 100644 (file)
@@ -34,7 +34,7 @@ namespace folly {
  *
  * The SimpleAllocator must provide two methods:
  *    void* allocate(size_t size);
- *    void deallocate(void* ptr, size_t size);
+ *    void deallocate(void* ptr);
  * which, respectively, allocate a block of size bytes (aligned to the maximum
  * alignment required on your system), throwing std::bad_alloc if the
  * allocation can't be satisfied, and free a previously allocated block.