Skip to content

Commit

Permalink
Deshim //folly:dynamic to //folly/json:dynamic in watchman
Browse files Browse the repository at this point in the history
Summary:
The following headers were shimmed in //folly:dynamic and were modded:
  - folly/DynamicConverter.h -> folly/json/DynamicConverter.h
  - folly/dynamic.h -> folly/json/dynamic.h
  - folly/dynamic-inl.h -> folly/json/dynamic-inl.h
  - folly/json.h -> folly/json/json.h

`arc lint` was applied

Reviewed By: MichaelCuevas

Differential Revision: D53837653

fbshipit-source-id: 871dc362779e3de73107e8dc0508234a42b09122
  • Loading branch information
Gownta authored and facebook-github-bot committed Feb 16, 2024
1 parent 63865e4 commit 4be7f32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion watchman/cppclient/CLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <folly/init/Init.h>
#include <folly/io/async/ScopedEventBaseThread.h>
#include <folly/json.h>
#include <folly/json/json.h>

using namespace folly;
using namespace watchman;
Expand Down
2 changes: 1 addition & 1 deletion watchman/cppclient/WatchmanClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
#include <folly/Executor.h>
#include <folly/Optional.h>
#include <folly/Try.h>
#include <folly/dynamic.h>
#include <folly/futures/Future.h>
#include <folly/json/dynamic.h>

namespace watchman {

Expand Down
2 changes: 1 addition & 1 deletion watchman/cppclient/WatchmanConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#include <optional>

#include <folly/ExceptionWrapper.h>
#include <folly/dynamic.h>
#include <folly/futures/Future.h>
#include <folly/io/IOBufQueue.h>
#include <folly/io/async/AsyncSocket.h>
#include <folly/io/async/EventBase.h>
#include <folly/json/dynamic.h>

namespace watchman {

Expand Down
2 changes: 1 addition & 1 deletion watchman/integration/cppclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <folly/experimental/io/FsUtil.h>
#include <folly/init/Init.h>
#include <folly/io/async/EventBaseThread.h>
#include <folly/json.h>
#include <folly/json/json.h>
#include <glog/logging.h>

using namespace folly;
Expand Down

0 comments on commit 4be7f32

Please sign in to comment.