Bug 442762 - Annotate mozStorageStatementScoper with NS_STACK_CLASS, r=sdwilsh
authorBenjamin Smedberg <benjamin@smedbergs.us>
Mon, 30 Jun 2008 21:03:29 -0400
changeset 15593 3590fdfcfe26e421d1a49a6a02aa107ef0d3d222
parent 15592 5624e3221bee8a380f43bdff0a2d469e0a0772d9
child 15594 6d88fe34dc34e109048efe8be0a438c4c351f0a0
push idunknown
push userunknown
push dateunknown
reviewerssdwilsh
bugs442762
milestone1.9.1a1pre
Bug 442762 - Annotate mozStorageStatementScoper with NS_STACK_CLASS, r=sdwilsh
storage/public/mozStorageHelper.h
--- a/storage/public/mozStorageHelper.h
+++ b/storage/public/mozStorageHelper.h
@@ -145,17 +145,17 @@ protected:
 
 /**
  * This class wraps a statement so that it is guaraneed to be reset when
  * this object goes out of scope.
  *
  * Note that this always just resets the statement. If the statement doesn't
  * need resetting, the reset operation is inexpensive.
  */
-class mozStorageStatementScoper
+class NS_STACK_CLASS mozStorageStatementScoper
 {
 public:
   mozStorageStatementScoper(mozIStorageStatement* aStatement)
       : mStatement(aStatement)
   {
   }
   ~mozStorageStatementScoper()
   {