Commit 81c70338 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

fix dynamic::operator--(int)

Summary: A typo in its name meant it was missing and that `dynamic::operator-(int)` was defined instead.

Reviewed By: ot, luciang

Differential Revision: D31726709

fbshipit-source-id: 42696c958f674de806dd56c3d89ec07dd60db961
parent 51669993
......@@ -292,7 +292,7 @@ struct dynamic {
auto self = *this;
return ++*this, self;
}
dynamic operator-(int) {
dynamic operator--(int) {
auto self = *this;
return --*this, self;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment